- Joined
- May 3, 2016
- Messages
- 3,220
- Solutions
- 7
- Reaction score
- 2,541
- Points
- 145
- Favorite Pinball Machine
- Attack From Mars
If xBAM_BAll.Speed = 500 (just an example)
SpL.angularDamping = 0.30 - (2*(xBAM_Ball.Speed -300)/10000))
So
SpL.angularDamping = 0.30 - (2*(500 -300)/10000))
SpL.angularDamping = 0.30 - (2*200)/10000))
SpL.angularDamping = 0.30 - (2*200)/10000))
SpL.angularDamping = 0.30 - (400)/10000))
SpL.angularDamping = 0.30 - 0.4
SpL.angularDamping = 0.26
OK... The idea: the more the ball have the speed, the less will be the angular damping.
You can use a lot of others formulas or criteria.
JP,
The 0.4 in your example should be 0.04. That makes your final result correct. I am guessing you must have tried many formulas before using this one.
George