EntityRoll()
语法
Result = EntityRoll(#Entity [, Mode])概要
Get the roll of the #Entity.
参数
#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.
返回值
The current roll value of the specified entity. This value is always between -180.0 and 180.0 degrees.
参阅
EntityYaw(), EntityPitch()
已支持操作系统
所有