Profile image

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

5,891 QuantityPlayer  6 months ago

I need it for my tank

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

    @32
    Oh, thanks!

    6 months ago
  • Profile image

    @TheMouse @32 thank you sir.

    6 months ago
  • Profile image
    29.6k 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 6 months ago
  • Profile image
    58.4k TheMouse

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

    6 months ago