Profile image

sir, can you give me the code for tank turret control using pitch and roll

3,122 Tiper4062  one month ago

I need it for my tank

  • Log in to leave a comment
  • Profile image
    37.4k TheMouse

    @32
    Oh, thanks!

    one month ago
  • Profile image
    3,122 Tiper4062

    @TheMouse @32 thank you sir.

    one month ago
  • Profile image
    28.7k 32

    clamp(sum(pitch), 0, 1) and sum(roll) might work better because the turret won’t return home after you move it. Also pitch and roll might need to be capitalized, I forget

    +1 one month ago
  • Profile image
    37.4k TheMouse

    Just set the input to “pitch” and “roll” in the rotators. I

    one month ago