Transform

An object in 3D space that have a position and rotation

Constructor

new Transform()

Members

eulerAngles :Vector3

The world eulerAngles

Type:

localEulerAngles :Vector3

The local eulerAngles

Type:

localPosition :Vector3

The local position

Type:

position :Vector3

The world position

Type:

Methods

distance(other)

The distance between two transforms

Parameters:
NameTypeDescription
otherTransform
Returns:

number