Tutorial: Transform

Transform

local_transform

Local transform of the entity, aka the local model matrix.

Attributes

Attribute Type Default Description
position vec3 [ 0, 0, 0 ] x, y, z position of the entity
orientation quaternion [ 0, 0, 0, 1 ] Orientation of the entity expressed as a quaternion
scale vec3 [ 1, 1, 1 ] x, y, z scale of the entity
eulerOrientation vec3 [ 0, 0, 0 ] Orientation of the entity expressed as euler angles
globalEulerOrientation vec3 [ 0, 0, 0 ] Last global orientation of the entity expressed as euler angles submitted by a user. This value may not be valid, and should be checked.