sim.getPathLengthsReturns the lengths of a path in 1, 2 or 3D Cartesian space, even if more coordinates are provided. Each path point will have a corresponding length value (taken as the distance from the path's first point, along the path) Synopsislist pathLengths, float totalLength = sim.getPathLengths(list path, int dof,
string distCallback = None)
float[] pathLengths, float totalLength = sim.getPathLengths(float[] path, int dof,
function/string distCallback = nil)
Arguments
Return values
|