useChildren
useChildren
gets/sets
if IPO updated for children
Type: Bool
1 = True
0 = False
Sample Code
################# Get useChildren
# get controller
controller = GameLogic.getCurrentController()
# get ipo actuator attached to the controller
named WalkCycle
act = controller.actuators["WalkCycle"]
# update children ipo?
updateIPO = act.useChildren
################# Set useChildren
# get controller
controller = GameLogic.getCurrentController()
# get ipo actuator attached to the controller
named WalkCycle
act = controller.actuators["WalkCycle"]
# update children ipo
act.useChildren = True
|