Skip to main content
Skip to main content

getLocalClosestSplinePosition

getLocalClosestSplinePosition

Description

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

Definition

getLocalClosestSplinePosition(integer shapeId, float time, float timeRange, float worldX, float worldY, float worldZ, float eps)

Arguments

integershapeIdshapeId
floattime
floattimeRange(searches in -/+ 0.5*range)
floatworldX
floatworldY
floatworldZ
floatepsepsilon value in meters used for matching precision. Minimum value 0.001

Return Values

floatworldX
floatworldY
floatworldZ
floattime