getClosestSplinePositionVector
getClosestSplinePositionVector
Description
Get closest world space position and time on spline to given world space position
Definition
getClosestSplinePositionVector(integer shapeId, vector world, float eps)
Arguments
| integer | shapeId | |
|---|---|---|
| vector | world | |
| float | eps | acceptable world space error |
Return Values
| vector | world |
|---|---|
| float | time |