EntityRoll()
Syntax
Result = EntityRoll(#Entity [, Mode])Description
Get the roll of the #Entity.
Parameters
#Entity The entity to use. Mode (optional) The mode to get the roll. It can be one of the following value: #PB_Absolute: get the absolute roll value, ignoring the current roll of the parent (default). #PB_Relative: get the roll value relative to the current roll of the parent.combined with one of the following value:#PB_Engine3D_Raw : the roll is the raw value, but it can't be used in RotateEntity() to get back the same orientation (default). #PB_Engine3D_Adjusted: the roll is adjusted, so it can be put back in RotateEntity() to get back the same orientation.
Return value
The current roll value of the specified entity. This value is always between -180.0 and 180.0 degrees.
See Also
EntityYaw(), EntityPitch()
Supported OS
All