Regular API function

simResetCollision / sim.resetCollision

Description Clears the collision state, colors, intersections, etc. for a registered collision object. See also sim.handleCollision.
C synopsis simInt simResetCollision(simInt collisionObjectHandle)
C parameters
collisionObjectHandle: handle of the collision object or sim_handle_all or sim_handle_all_except_explicit. (sim_handle_all will reset all registered collision 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. In a future release, a more differentiated return value might be available
Lua synopsis number result=sim.resetCollision(number collisionObjectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page