Profile image

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

6,869 PemainKuantitas  1.1 years ago

I need it for my tank

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

    @32
    Oh, thanks!

    1.1 years ago
  • Profile image

    @TheMouse @32 thank you sir.

    1.1 years ago
  • Profile image
    32.1k 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 1.1 years ago
  • Profile image
    66.2k TheMouse

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

    1.1 years ago