This method turns an entity. This will produce smooth rotation free from Gimbal lock problems that can occur when rotations are manually specified.
| Parameter | Description |
|---|---|
| rotation, (pitch, yaw, roll) | rotation to apply |
| global | if set to true global space is used, otherwise local space is used |