Skip to main content
Skip to main content

getSplinePositionWithDistance

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 time

Definition

getSplinePositionWithDistance(integer shapeId, float time, float distance, boolean positiveTimeOffset, float eps)

Arguments

integershapeIdshapeId
floattime
floatdistance
booleanpositiveTimeOffsetsearch in positive or negative direction of t
floatepsepsilon value in meters used for matching precision. Minimum value 0.001

Return Values

floatworldX
floatworldY
floatworldZ
floattime