Regular API function


Description Handles a mechanism registered with the geometric constraint solver functionality. Mechanisms can be registered while editing a scene.
C synopsis simInt simHandleMechanism(simInt mechanismHandle)
C parameters
mechanismHandle: handle of the mechanism or sim_handle_all or sim_handle_all_except_explicit. (sim_handle_all will handle all registered mechanisms, while sim_handle_all_except_explicit will only handle 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=simHandleMechanism(number mechanismHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page