Sign in to follow this  
arno

Rotate towards viewing aircraft.

Recommended Posts

I'm currently using FSDS 2.24 and am trying to get created objects to always rotate to face viewing aircraft (ie. people, trees etc.). In EOD you need just check a box.Havent seen a FAQ on this one yet. ANYBODY?

Share this post


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

I am at work at the moment but to save you having to trawl through the forums, i can post you the code snippet when i get home from work tonight that you add to the scasm code that you can generate with FSDS before you complie it with scasm! rgds Jeff

Share this post


Link to post
Share on other sites

In general you need to replace the RotatedCall command in the source with a RotateToAircraft command.The RotatedCall command should look something like this in your source:RotatedCall( :label 0 0 %5 )You would then replace this by:RotateToAircraft( :label 0 0 0 0 0 0 0 1 0 )Then the entire object rotates around the 0,0 point to the user.

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