Animated Update Rotation wrong way
-
I have an animation driven by AnimatedUpdate. If the model has a heading of 358 degrees and I do an animatedupdate to change the heading to 2 degrees, the model spins round anticlockwise by 356 degrees instead of rotating clockwise by 4 degrees. How do I change that behaviour please?
-
I don't know the tool, but the standard rotation rule is +ve angles rotate anticlockwise about the axis of rotation.
Entering +2 tells it to swing from 358 round to 2 anticlockwise !
If you enter a value like -4 OR +362 degrees what happens, does the rotation reverse to clockwise ?
Is there no a way to specify the required swept-angle rather than the absolute-angle
-
See AnimatedUpdate, Change and Update at
http://code.google.com/apis/kml/documentation/kmlreference.html(If you can figure it out from there good luck!)
-
Have you tried my suggestions for -ve angle values or > +360 etc

-
I did find that I could overcome it by just getting bigger and bigger with the angles. ie. specifying 352 degrees say, then 380 degrees, then 420 degrees etc. It seems to work.
But I actually used a suggestion Aerilius made, which was to get to 359, then do a change to 0 with a duration of 0 so it spun anticlockwise infinitely fast, then carried on with 20 degrees, 80 degrees etc. That also works.
But it is all a fudge. Surely there is some way of forcing the rotation to the desired direction.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement