Rotation inertia problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2003   #1
Rotation inertia problem

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: angle-inertia
 
Old 03 March 2003   #2
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
 
Old 03 March 2003   #3
Also try www.actionscript.org its pretty useful.
 
Old 03 March 2003   #4
i'll have something ready for you in a minute

-> click
__________________
character WIP: c&c please ;)

Last edited by knebbes : 03 March 2003 at 01:25 PM.
 
Old 03 March 2003   #5
Thanks Knebbes! Has been plaguing me for a while... never bothered to find a solution.
 
Old 01 January 2006   #6
Thread automatically closed

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.
 
  share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 11:24 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.