EntityPitch()

Syntax

Result = EntityPitch(#Entity [, Mode])
Description
Get the pitch of the #Entity.

Parameters

#Entity The entity to use.
Mode (optional) The mode to get the pitch. It can be one of the following value:
  #PB_Absolute: get the absolute pitch value, ignoring the current pitch of the parent (default).
  #PB_Relative: get the pitch value relative to the current pitch of the parent.
combined with one of the following value:
  #PB_Engine3D_Raw     : the pitch is the raw value, but it can't be used in RotateEntity() to get back the same orientation (default).
  #PB_Engine3D_Adjusted: the pitch is adjusted, so it can be put back in RotateEntity() to get back the same orientation.

Return value

The current pitch value of the specified entity. This value is always between -180.0 and 180.0 degrees.

See Also

EntityYaw(), EntityRoll()

Supported OS

All

<- EntityParentNode() - Entity Index - EntityRenderMode() ->