Regular API function

simHandleChildScripts / sim.handleChildScripts

Description Executes non-threaded child scripts located in the current scene hierarchy branch. Child scripts will be executed in a cascaded fashion and this command should only be called from the main script.
C synopsis -
C parameters
-
C return value
-
Lua synopsis
number executedScriptCount=sim.handleChildScripts(number systemCallbackType)
Lua parameters
callType: the desired system call type for the child scripts (e.g. sysCall_actuation).
Lua return values
executedScriptCount: number of executed non-threaded child scripts

All regular API functions on one page