Profile image

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

6,041 QuantityPlayer  7 months ago

I need it for my tank

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

    @32
    Oh, thanks!

    7 months ago
  • Profile image

    @TheMouse @32 thank you sir.

    7 months ago
  • Profile image
    29.9k 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 7 months ago
  • Profile image
    59.8k TheMouse

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

    7 months ago