pXent_kinematic ( entity, var active );

A dynamic-Actor can be a kinematic-Actor by setting the “kinematic” value to 1. A kinematic Actor is not affected by any force, but can be moved. It is an alternative to the character controller (PH_CHAR).

Parameters:

entity

registered Entity pointer (Actor)

active

1 = kinematic object, 0 = normal physics object


Returns:

1 if successful, 0 otherwise.

Remarks:

Speed:

Fast

Example:

pXent_kinematic(my, 1); // kinematic object (enable kinematic)

See also:

pXent_addforcelocal, pXent_settype