LUADOC - Farming Simulator 17

Printable Version

Script v1.4.4.0

Engine v7.0.0.2

Foundation Reference

getVelocityAtWorldPos

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