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!
Thank you so much my friends for your helps!
@SILVERPANZER Right.
@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.
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.
I have no idea I always just use vtol and trim
@SILVERPANZER Thank you so much bro! I'll credit you in my post.
Nice Tank!
Simple ft code.
Horisontal:
sum(Roll*X)
X - rotation speed.
Vertical rotation:
smooth(Pitch = 0 ? 0 : sign(Pitch/15), abs(Pitch*1.5))