b3dEntityYaw

Returns entity yaw rotation in degrees (Y-axis rotation, 0.0 if invalid). Takes entity (entity handle). Returns yaw angle as Double (entity.rotation.y in degrees, 0.0 if entity doesn't exist).

3D Graphics

Parameters & Returns

Parameters

entity Int

Returns

Double

Quick Summary

Returns entity yaw rotation in degrees (Y-axis rotation, 0.0 if invalid). Takes entity (entity handle). Returns yaw angle as Double (entity.rotation.y in degrees, 0.0 if entity doesn't exist).

Technical Exegesis...

Returns entity yaw rotation in degrees (Y-axis rotation, 0.0 if invalid). Takes entity (entity handle). Returns yaw angle as Double (entity.rotation.y in degrees, 0.0 if entity doesn't exist). Validates entity exists, returns rotation.y directly (yaw component of Euler angles), returns 0.0 if invalid handle. Query function for entity left/right rotation.

This function retrieves entity yaw angle.

Example

Example.bam
; No example implemented yet