Profile image

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

6,099 PemainKuantitas  8 months ago

I need it for my tank

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

    @32
    Oh, thanks!

    8 months ago
  • Profile image

    @TheMouse @32 thank you sir.

    8 months ago
  • Profile image
    30.8k 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 8 months ago
  • Profile image
    61.2k TheMouse

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

    8 months ago