Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorsibhod
- CommentTimeNov 23rd 2009
I noticed when applying RotationalFriction to particles, if the particle's angular velocity is negative it would accelerate instead of decelerate the rotation. Adding a Math.abs() in the scale calculation fixes it:
var scale:Number = 1 - ( _friction * time ) / ( Math.abs( p.angVelocity ) * p.inertia ); -
- CommentAuthorRichard
- CommentTimeDec 4th 2009
Doh! Thank you, I'll fix it in the next release.
1 to 2 of 2
