LUADOC - Farming Simulator 17

Printable Version

getSplineOrientation

Description
Get spline orientation
Definition
getSplineOrientation(integer shapeId, float time, float upDirX, float upDirY, float upDirZ)
Arguments
integershapeIdid of curve shape object
floattimetime [0,1]
floatupDirXup direction x coordinate
floatupDirYup direction y coordinate
floatupDirZup direction z coordinate
Return Values
floatrxx rotation
floatryy rotation
floatrzz rotation