minimum velocity
SANDEEP410
Member Posts: 46
I want my ball to always have a minimum velocity of 140.I dont want the ball speed to drop below that.
How to maintain minium velocity
How to maintain minium velocity
Comments
if sqrt((actor's-motion-linear-x)^2+(actor's-motion-linear-y)^2)<=140
do ...
rule speed < 140
changeVelocity(140)