Profile image

Tank turrent problem

3,817 Kav  20 days 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
    3,817 Kav

    Thank you so much my friends for your helps!

    Pinned 20 days ago
  • Profile image
    50.2k Graingy

    @SILVERPANZER Right.

    20 days ago
  • Profile image
    61.3k 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 20 days ago
  • Profile image
    50.2k 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 20 days ago
  • Profile image

    I have no idea I always just use vtol and trim

    20 days ago
  • Profile image
    3,817 Kav

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

    20 days ago
  • Profile image
    61.3k SILVERPANZER

    Nice Tank!

    +1 20 days ago
  • Profile image
    61.3k SILVERPANZER

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

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

    +2 20 days ago