pXent_rotate (ENTITY* entity, ANGLE* vRelAngle, ANGLE* vAbsAngle);

Directly rotate a physics entity or character controller about its current orientation or to an absolute angle.

Parameters:

entity registered physics entity, kinematic entity, or character controller.
vRelAngle Euler angle added to the current entity angle.
vAbsAngle Euler angle to replace the current entity angle.

Remarks:

Speed:

Medium

Example: see pXent_move

See also:

PH_CHAR, NX_BF_KINEMATIC, pXent_move, pXent_setposition