Profile image

Tank turrent problem

14.2k Kav  3 months ago

I made a tank after long times which looks like a "Tank"! But I'm not good with funky trees or coding. So I have problems with tank's turrent. I used roll and pitch for turrent control but when changing position of turrent it goes back to its first position (after releasing button).
Can some one help with funky trees or something?
Thanks!
DT-100D

  • Log in to leave a comment
  • Profile image
    14.2k Kav

    Thank you so much my friends for your helps!

    Pinned 3 months ago
  • Profile image
    53.9k Graingy

    @SILVERPANZER Right.

    3 months ago
  • Profile image
    63.6k SILVERPANZER

    @Graingy This is a simple version, but I have a more complex one.
    For greater accuracy, it's better to use auto aim or camera control.

    +1 3 months ago
  • Profile image
    53.9k Graingy

    Roll + Pitch is better for precision but comes short for full rotation. Best for SPAA/AAA and the like.
    @SILVERPANZER Wouldn't using sum result in difficulty in actually acquiring target? That's assuming manual aiming, of course. Curious how the vertical aim code works.

    +1 3 months ago
  • Profile image
    5,296 Chunkycheese

    I have no idea I always just use vtol and trim

    3 months ago
  • Profile image
    14.2k Kav

    @SILVERPANZER Thank you so much bro! I'll credit you in my post.

    3 months ago
  • Profile image
    63.6k SILVERPANZER

    Nice Tank!

    +2 3 months ago
  • Profile image
    63.6k SILVERPANZER

    Simple ft code.
    Horisontal: sum(Roll*X)
    X - rotation speed.

    Vertical rotation: smooth(Pitch = 0 ? 0 : sign(Pitch/15), abs(Pitch*1.5))

    +3 3 months ago