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
Lua synopsis sim.breakForceSensor(int objectHandle)
Lua parameters
Similar to the C-function counterpart
Lua return values
-
Remote API equiv.
B0-based remote API: simxBreakForceSensor
Legacy remote API: simxBreakForceSensor