LUADOC - Farming Simulator 19

getSplinePositionWithDistance

Description
Get world space position and time on spline that has the given world space distance to the position on the spline at the given
Definition
getSplinePositionWithDistance(integer shapeId, float time, float distance, boolean positiveTimeOffset, float eps)
Arguments
integershapeIdshapeId
floattime
floatdistance
booleanpositiveTimeOffsetsearch in positive or negative direction of t
floatepsworld space
Return Values
worldXfloat
worldYfloat
worldZfloat
timefloat