Regular API function

simHandleIkGroup / sim.handleIkGroup

Description
Deprecated. Use the kinematic plugin functionality instead.

Handles (solves) a registered IK group. IK groups can be registered while editing a scene.
C/C++
synopsis
int simHandleIkGroup(int ikGroupHandle)
C/C++
parameters
ikGroupHandle: handle of the IK group or sim.handle_all or sim.handle_all_except_explicit. (sim.handle_all will handle all IK groups, while sim.handle_all_except_explicit will only handle those that are not marked as "explicit handling"). See also simGetIkGroupHandle.
C/C++
return value
number of performed calculations (i.e. IK group calculation results are different from sim.ikresult_not_performed) if no specific IK group was specified, or a value of type IK result if a specific IK group was specified, -1 in case of an error (a failed IK group calculation is not considered as an error)
Lua
synopsis
int calculationCountOrResult=sim.handleIkGroup(int ikGroupHandle)
Lua
parameters
Similar to the C-function counterpart
Lua
return values
Similar to the C-function counterpart