RotateEntity
Sets an entity's rotation.
RotateEntity ( entity,pitch#,yaw#,roll#[,global] )
Parameters
- entity
- the entity's handle.
- pitch#
- how far its front tilts down (negative tilts it up).
- yaw#
- how far it turns left (negative turns right).
- roll#
- how far it rolls over sideways.
- global (optional)
- 1 sets the angles in the world's terms even when it has a parent.
Description
Sets the angles an entity faces at, in degrees, replacing whatever angles it had.
