Skip to main content

Entity::getSpeedVector

Relative can be used for getting speed relative to the frame of the vehicle, to determine for example, if you are going in reverse (-y speed) or not (+y speed).

Syntax​

```js entity.getSpeedVector(relative); ```

Required Arguments​

  • relative: Boolean

Return value​

  • Vector3

Example​

```js // todo ```

See also​