Skip to main content

GPS

Allows you to get information on things such as velocity, rotation etc. This is all measuerd from the GPS block's telemetry and directional telemetry is based on the arrow on the texture which represents the forward direction.


Strucutres

Data

Contains GPS data

  • worldPosition [ Vec3 ] The world position.
  • worldRotation [ Quat ] The world rotation.
  • bearing [ number ] The bearing rotation (Degrees!).
  • velocity [ Vec3 ] The velocity.
  • speed [ number ] The speed.
  • forwardVelocity [ number ] The forwards velocity.
  • horizontalVelocity [ number ] The horizontal velocity.
  • verticalVelocity [ number ] The vertical velocity.
  • acceleration [ number ] The acceleration.
  • forwardAcceleration [ number ] The forwards acceleration.
  • horizontalAcceleration [ number ] The horizontal acceleration.
  • verticalAcceleration [ number ] The vertical acceleration.

Functions

getGPSData

GPS.getGPSData()

Gets GPS Data

Returns: