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