sim.getClosestPosOnPathReturns the position or distance along a path that is closest to a specified point in space Synopsisfloat posAlongPath = sim.getClosestPosOnPath(list path, list pathLengths, list absPt)
float posAlongPath = sim.getClosestPosOnPath(float[] path, float[] pathLengths, float[3] absPt)
Arguments
Return values
|