sub ApplyActorDamping( actor, timeStep)

Reduces the velocity of an actor over time, simulating the effect of friction or air resistance.

This function applies the linear and angular damping values set with the SetActorDamping() function.

init_damping = False 
SetActorDamping(actor, 0.10.5) 
ApplyActorCentralImpulse(actor, 30000) 
  
While True 
If Not init_damping Then 
   ApplyActorDamping(actor, 5.0) 'Will apply the damping effect for 5 seconds
   init_damping = True 
End If 
Update() 
Wend 


Related: setActorDamping getActorLinearDamping getActorAngularDamping