setVelocityModelSpace
- Local argument
- Global effect
- Arma 3 v1.68
Command · Markdown · JSON · original wiki page
Description
Sets the velocity (i.e. speed) vector of the given vehicle relative to its model.
Important
Since Arma 3 v2.06, each velocity component is limited to ±5000 m/s.
Syntax
vehicle setVelocityModelSpace velocity
Parameters:
Returns: Nothing
Examples
Example 1
MyCar setVelocityModelSpace [0, 10, 0]; // Pushes MyCar forward.
See also
velocityModelSpace · velocity · setVelocity · setVelocityTransformation · speed · disableBrakes · brakesDisabled