I'm making a text that should change depend on target's speed but i cannot find proper funky trees for it. for example i have tried to use this code i made but it does not work look below:
(this code suggested to show speed of a plane moving on a surface without changing altitude like tankers but i need a code that can also show speed of moving plane with different altitude in time)
sqrt((sin(rate(TargetHeading)) * (TargetDistance + rate(TargetDistance))) + (pow((TargetDistance + (cos(rate(TargetHeading) * TargetDistance))), 2)))
I don't know I used my professor's note to make it but it didn't make sense. I test it and the result was that It raised when targets get distance.
please if you can correct it or have another code please help me.
i think it take a lot to find proper code.