Sign in to follow this  
Guest pscarratt

Rotate In Reverse

Recommended Posts

Hi,Anybody know how to reverse the direction of rotation in an XML tag?Thanks,

Share this post


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

Hi,That is mostly a matter of: "Points to...", pivot and axis;Item Value, x=".." and y=".."Just test and test and ....Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

If I understand you correctly, make the result of the value...value negative, say with -1 * at the end of the calculation.Nick.

Share this post


Link to post
Share on other sites

Hi Jan,What does pivot do?I've not come accross that one

Share this post


Link to post
Share on other sites

Hi,If you use a polyline or something you define the coordinates of the line with x and y.The point of rotation is the pivot point:Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

I see...I've not had a play with polys yet...Back to the original question - Although what you said would work, I need to set two axis of rotation on the single image. Do you know if thats possible?Thanks again for all your support!

Share this post


Link to post
Share on other sites

Paul,If you show the code or picture of what you want I could have a look and try.Btw. see other threadJan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

>If I understand you correctly, make the result of the>value...value negative, say with -1 * at the end of the>calculation.If your code uses a non-linearity table, the "SDK approved method" is to reverse the order of the table from "lowest to highest" to "highest to lowest..."This will avoid neatly any issues with negative values in your formulae. :)

Share this post


Link to post
Share on other sites

>If your code uses a non-linearity table, the "SDK approved method" >is to reverse the order of the table from "lowest to highest" >to "highest to lowest...">This will avoid neatly any issues with negative values in your >formulae.Good point Bill. We do not know his method. I try to avoid tables and take my result as radians, and mutiply by a constant to suit the application. If a rotating needle, for example, the constant converts the radian values to suit the angle of needle sweep. Perhaps he could give more details, as we both know, there are several ways of writing XML code to get the same effect.Cheers,Nick.BTW, still persuing alpha channels.

Share this post


Link to post
Share on other sites

Hi all,I'm going to explain a bit better what I am trying to acheive... This and my other recent post (Rotate on two axis) have come about because I was trying to create a two piece wiper. See the diagram, the first part is the wiper arm that rotates around the large circle - the second part is the wiper blade which aswell as rotating around the large circle, rotates around the end of the arm.Any ideas if this is possible?Cheers,

Share this post


Link to post
Share on other sites

Paul,Clear, will have a look at my own wiper (shift/rotate)Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

Thanks Jan,The more you play with this stuff the more and more you want to do! Its very addictive!

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