Regular API function

simResetDistance / sim.resetDistance

Description DEPRECATED. See sim.checkDistance instead.
C/C++
synopsis
simInt simResetDistance(simInt distanceObjectHandle)
C/C++
parameters
distanceObjectHandle: handle of the distance object or sim_handle_all or sim_handle_all_except_explicit. (sim_handle_all will reset all registered distance objects, while sim_handle_all_except_explicit will only reset those that are not marked as "explicit handling")
C/C++
return value
-1 if operation was not successful
Lua synopsis sim.resetDistance(int distanceObjectHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values