Stopping actor completely with drag not working.

ct.ceismcct.ceismc Member Posts: 14
edited November -1 in Working with GS (Mac)
I have an actor with drag turned on. I use a change velocity behavior to start it moving. Drag correctly slows down the actor but it will not come to a complete stop. Instead the X and Y linear velocities slow down but continue to randomly oscillate around 0. I have tried setting a rule to change the x and Y linear velocities to 0 when between +- 10 and even that takes a while to trigger and completely stop the motion of the actor. Is this a bug or simply an artifact of using Real numbers for velocities and the imprecision of the calculations? Why doesn't the rule trigger immediately when the velocity is between +- 10 and set the velocities to 0?
Sign In or Register to comment.