Transform

A transform object holds information about a vehicles transform (position, rotation, etc) and can be obtained through the getTransform() method on a vehicle object.

Transform object has following methods:

  • getPosition()
    • Returns: Table (Vector3)
  • getRotation()
    • Returns: Table (Quaternion)
  • getVelocity()
    • Returns: Table (Vector3)
  • getAngularVelocity()
    • Returns: Table (Vector3)