Regular API function

simBreakForceSensor / sim.breakForceSensor

Description Allows breaking a force sensor during simulation. A broken force sensor will lose its positional and orientational constraints. See also sim.readForceSensor.
C synopsis simInt simBreakForceSensor(simInt objectHandle)
C parameters
objectHandle: handle of the object (must be a force sensor)
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.breakForceSensor(number objectHandle)
Lua parameters
Same as C-function
Lua return values
Same as C-function
Remote API equiv.
B0-based remote API: simxBreakForceSensor
Legacy remote API: simxBreakForceSensor

All regular API functions on one page