phent_clearvelocity( ENTITY*);

Sets the instantaneous linear and angular velocity of the registered entity to 0, effectively stopping its movement at the current position.

Parameters:

ENTITY* - pointer of entity

Remarks:

It is not recommended to do this for entities that are part of a constraint.

Speed:

Fast

Example:

phent_clearvelocity(my);

See also:

phent_addvelcentral ► latest version online