View Full Version : Rotation inertia problem
yadla 03112003, 05:59 PM Hello,
can someone help me solving this problem:
i use inertia on rotation,
when angle reaches Pi, it continues to Pi, logic.
so, when i use inertia, when angle changes sign, speed is suddelny fast!
how can i do ?
thanks to help
see my problem here: angleinertia (http://www.nzo.fr/flash/angleinertia.html)


Ian Jones
03122003, 01:56 AM
It's the Flash system of angles that is stuffing you around. Flash uses an awkward coordinate system. As it gets to 360 it does its calculation and you get 360 which unfortunately makes it skip around to that point in the opposite direction. Can you make the code available please, so I can see it. I am not that good at maths or actionscript yet so I would really like to see how it actually works.
You should be able to find the solution on some tutorial websites like www.flashkit.com
Ian Jones
03122003, 08:40 AM
Also try www.actionscript.org its pretty useful.
knebbes
03122003, 12:48 PM
i'll have something ready for you in a minute :)
> click (http://www.knebbes.de/flash/lab/inertiarot.html)
Ian Jones
03132003, 10:48 AM
Thanks Knebbes! Has been plaguing me for a while... never bothered to find a solution. :)
CGTalk Moderation
01142006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©20002015, Jelsoft Enterprises Ltd.