# Rotate In Reverse

## Recommended Posts

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

##### 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 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 on other sites

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

##### 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 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 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 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 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 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 on other sites

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

##### Share on other sites

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

## Create an account

Register a new account

• Tom Allensworth,
Founder of AVSIM Online

• ### Hot Spots

• Flight Simulation's Premier Resource!

AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!