Difference between revisions of "DCS func getVelocity"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 41: Line 41:
 
}}
 
}}
 
[[Category:Class Functions|getVelocity]]
 
[[Category:Class Functions|getVelocity]]
 +
[[Category:Game Patch 1.2.0|getVelocity]]

Latest revision as of 23:56, 20 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getVelocity Added with: 1.2.0
Member Of: Object
Syntax: vec3 Object.getVelocity(Class Self )
Description: Returns a vec3 table of the objects velocity vectors.

Function also works with Unit, Weapon, Static Object, Scenery Object, Airbase


Return Value: vec3
Return Example:
Examples:
Related Functions: Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir
Notes: