Regular API function

simResetVisionSensor / sim.resetVisionSensor

Description Clears the detection state, etc. of a proximity sensor object. See also sim.handleVisionSensor.
C synopsis simInt simResetVisionSensor(simInt sensorHandle)
C parameters
sensorHandle: handle of the vision sensor object or sim_handle_all or sim_handle_all_except_explicit. (sim_handle_all will reset all vision sensor objects, while sim_handle_all_except_explicit will only reset those that are not marked as "explicit handling")
C return value
-1 if operation was not successful
Lua synopsis sim.resetVisionSensor(int sensorHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values