TurnEntity
Turns an entity.
TurnEntity ( entity,pitch#,yaw#,roll#[,global] )
Parameters
- entity
- the entity's handle.
- pitch#
- how far to tilt its front down.
- yaw#
- how far to turn it left.
- roll#
- how far to roll it.
- global (optional)
- 1 turns it round the world's axes instead of its own.
Description
Turns an entity by some amount from the way it faces now. Calling it every frame keeps it turning: TurnEntity ship, 0, 2, 0 spins a ship 2 degrees left each frame.
