Vehicle::setForwardSpeed

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

SCALE: Setting the speed to 30 would result in a speed of roughly 60mph, according to speedometer.

Speed is in meters per second
You can convert meters/s to mph here:
http://www.calculateme.com/Speed/MetersperSecond/ToMilesperHour.htm

Syntax

vehicle.setForwardSpeed(speed);

Required Arguments

  • speed: float

Return value

  • Undefined

Example

// todo

See also