Vehicle::velocity

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

This property using for getting vehicle velocity.

Getter

  • Vector3

Example

Server-Side
let velocity = vehicle.velocity;
console.log(`velocityX: ${velocity.x} | velocityY: ${velocity.y} | velocityZ: ${velocity.z}`);

See Also