Arma 3 Scripting

Command in Object Manipulation

setVelocityModelSpace

Also available as Markdown and JSON, or read the 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