So i tried doing FT and the issue im having is that im trying to make an auto aim but im still at the horizontal stage and im still a beginner but it did work but with one issue, the heading is opposite to the targets heading.
Heres my FT code:
clamp(TargetHeading,1,1)*rate(TargetDistance/TargetHeading)
If anyone has a fix to my code, please do comment.
you can take a look at my auto aim in my ships, but it's not perfect accuracy because the cockpit and rotators are so far away from each other.
BB-X03 for canon part auto aim (main turrets)
BBY-07 for machine gun part auto aim (main turret)
@ShinyGemsBro anyway ,what do you want to build anyway?
@SAINAKAJIMA
That's the worst option that you can use for FT
An option that shouldn't even be one in the first place.
sum(sin(TargetHeading-Heading+RotatorAngle)*500)
Comment
in case if you're about to use the code for rotator, i designed the code to working well with the rotator, by make it work by sum. sum is needed to make the rotator to unlimitedly rotate its direction to the target's location.
set the "Invert" option on the rotator's input control to "Yes", and make its speed very higer using XML editor.
Why not using chat gpt? Sometimes I use it