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
simInt simHandleIkGroup(simInt 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