Skip to main content
Skip to main content

getLocalClosestSplinePositionVector

getLocalClosestSplinePositionVector

Description

Get closest world space position and time on spline to given world space position

Definition

getLocalClosestSplinePositionVector(integer shapeId, float time, float timeRange, vector world, float eps)

Arguments

integershapeId
floattime
floattimeRange(searches in -/+ 0.5*range)
vectorworld
floatepsepsilon value in meters used for matching precision. Minimum value 0.001

Return Values

vectorworld
floattime