DCS func getVelocity

From DCS World Wiki - Hoggitworld.com
Revision as of 23:56, 20 March 2022 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: