Roll()

Syntax

Roll(ObjectID, Value.f, Mode)
Description
Roll the specified object.

Parameters

ObjectID The entity to roll. It can be one of the following type:
  - Camera         : use CameraID() to get a valid ID.
  - Entity         : use EntityID() to get a valid ID.
  - Light          : use LightID() to get a valid ID.
  - Mesh           : use MeshID() to get a valid ID.
  - Node           : use NodeID() to get a valid ID.
  - ParticleEmitter: use ParticleEmitterID() to get a valid ID.
  - BillboardGroup : use BillboardGroupID() to get a valid ID.
  - Text3D         : use Text3DID() to get a valid ID.
Value The roll value (in degree).
Mode The roll mode. It can be one of the following values:
  #PB_Local : local roll.
  #PB_Parent: roll relative to the parent.
  #PB_World : roll relative to the world.

Return value

None.

See Also

Pitch(), Yaw()

Supported OS

All

<- RenderWorld() - Engine3D Index - SecondWorldCollisionEntity() ->