pan

tilt

roll

The Euler angles that describe rotations about the Z, Y, and X axis (in degrees, 0..360). An entity can be rotated by changing these values.

Range:

pan: 0 .. 360
tilt: -90 .. +90
roll: 0 .. 360

Type:

var; entity.pan can also serve as ANGLE vector.

Remarks:

Example:

action rotator()
{ while(1) { my.pan += time_step; wait(1); } }

See also:

x, y, z, ang_add, vec_rotate, vec_to_angle, ang_for_axis, ang_to_matrix

► latest version online