Sign in to follow this  
Varmint007

XML velocity vector

Recommended Posts

Hallo, Busy to find out the proper code.I have this one, but it workes not proper i think. (A:VELOCITY BODY X, m/s) (A:VELOCITY BODY Y, m/s)Any idea's?Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Jan,I prefer to use body velocity for beta, rather than the Incidence beta variable, but you can certainly try it and see if the resuslts are consistent.The thing to remember, is that a velocity vector IS your actual flight path, so try to calibrate it so that it's actually pointing to the right place (for instance a building on the ground). You may have to adjust your cockpit view angle down a few degrees to match the vector if you're using it in a HUD and it's being clipped.In my HUD, I have the velocity vector limited to an 8 degree radius. If it's greater than 8 degrees I have another piece of code which flashes the velocity vector.(A:Incidence Alpha:1,degrees(A:Velocity body X, m/s) (A:Velocity body Z, m/s) atg2 rddgJon

Share this post


Link to post
Share on other sites

Oh, ignore the scale comments (195/8), those are just left over from when I had a different layout. Obviously you can adjust scale to your own graphics.--Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this