Flint Particle System Forum - RotationalFriction bug2016-06-02T18:17:30+01:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
RotationalFriction bughttp://flintparticles.org/forum/comments.php?DiscussionID=280&Focus=985#Comment_9852009-11-23T20:08:21+00:002016-06-02T18:17:30+01:00sibhodhttp://flintparticles.org/forum/account.php?u=276
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 ...
var scale:Number = 1 - ( _friction * time ) / ( Math.abs( p.angVelocity ) * p.inertia );]]>
RotationalFriction bughttp://flintparticles.org/forum/comments.php?DiscussionID=280&Focus=997#Comment_9972009-12-04T07:48:44+00:002016-06-02T18:17:30+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
Doh! Thank you, I'll fix it in the next release.