Jump to content
Sign in to follow this  
Guest Epanel

Bitmap Rotation

Recommended Posts

Guest Epanel

Hi,I am farely new to xml so please bare with me :)I am making a windshield wiper gauge and a wiper gauge obviously goes back and forth. At the moment it is going anti-clockwise and then clockwise but I want it the other way around ( going clockwise first and then anti-clockwise ) Can someone tell me which part of the gauge to change?(G:Var1) (G:Var2) + (>G:Var1) (G:Var1) 2 <= if{ (L:Wiper, enum) (>G:Var2) } (G:Var1) 100 >= if{ (L:Wiper, enum) /-/ (>G:Var2) } (G:Var1) 100 < if{ (L:Wiper, enum) 0 == if{ 2 (>G:Var2) } } (G:Var1)Thank youKind RegardsJonathan

Share this post


Link to post
Share on other sites

Reorder your nonlinearity table:


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites
Guest Epanel

It's working now :)Thanks BillKind RegardsJonathan

Share this post


Link to post
Share on other sites
Guest Epanel

Another quick question. The wiper stretches out while rotating and shortens at another part of the rotation. How can I keep the wiper the same length all the way around? Also, is there a way to actually make it wipe the rain off of the windshield because at the moment it's just eye-candy lol.ThanksKind RegardsJonathan

Share this post


Link to post
Share on other sites

No, the rain won't wipe away.


Jeff Bea

I am an avid globetrotter with my trusty Lufthansa B777F, Polar Air Cargo B744F, and Atlas Air B748F.

Share this post


Link to post
Share on other sites

Animated parts stretch when their pivot point is offset from the axis of rotation, your best bet is to attach the part to an animated cube and ensure that the pivot points of the two parts are in the same place, then link your parent animated part to your topnode.(or not)While a Hierarchy is the conventional method of assembly they are also not nessary, i find they cause more trouble than they are worth, every part is parented to the scene root anyway and dont fly off.

Share this post


Link to post
Share on other sites
Guest Epanel

No idea what you're talking about :-lolKind RegardsJonathan

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • 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!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...