velocity
- Arma 3 v0.50
- First in Operation Flashpoint v1.80
Command · Markdown · JSON · original wiki page
Description
Returns the velocity of the object as vector in m/s.
Syntax
velocity object
Parameters:
object: Object
Returns: Vector3D
Examples
Example 1
_vector = velocity jeep;
Example 2
if ((velocity _plane1 select 2) > 50) then { hint "Aircraft is climbing up too fast!"; };
See also
setVelocity · velocityModelSpace · setVelocityModelSpace · setVelocityTransformation · speed