How to remove unnecessary angular velocities/moments?
Posted: Mon Feb 10, 2014 10:25 pm
Hello,
In my example there is a Ball which rolls on the ground, hitting different obstacles.
Usually after a strong collision it spins very fast around some axis.
Because of this strong rotation the ball movement is not linear (after collision it moves linear few seconds, but then turns in some unpredictable direction).
I played around with "AngularDamping" property. If it is set to a value around "1" then it solves the problem. But this solution doesn't suit me, because the Ball stops very fast (but it should rolls further).
Any ideas how to solve this?
I need the following: a ball should rolls freely long time on the surface; after strong collision the ball should just change it's direction once (at the moment of collision) and it should rolls straight to the next obstacle.
Thanks.
In my example there is a Ball which rolls on the ground, hitting different obstacles.
Usually after a strong collision it spins very fast around some axis.
Because of this strong rotation the ball movement is not linear (after collision it moves linear few seconds, but then turns in some unpredictable direction).
I played around with "AngularDamping" property. If it is set to a value around "1" then it solves the problem. But this solution doesn't suit me, because the Ball stops very fast (but it should rolls further).
Any ideas how to solve this?
I need the following: a ball should rolls freely long time on the surface; after strong collision the ball should just change it's direction once (at the moment of collision) and it should rolls straight to the next obstacle.
Thanks.