Skip to main content
Skip to main content

getSplinePositionWithDistanceVector

getSplinePositionWithDistanceVector

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

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

Arguments

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

Return Values

vectorworld
floattime