LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

getVelocityAtLocalPos

Description
Get velocity at local position of transform object
Definition
getVelocityAtLocalPos(integer transformId, float positionX, float positionY, float positionZ)
Arguments
integertransformIdid of transform object
floatpositionXx value of local position
floatpositionYy value of local position
floatpositionZz value of local position
Return Values
floatvelocityXx value of velocity
floatvelocityYy value of velocity
floatvelocityZz value of velocity