|
blendTimeblendTimeget/sets the internal frame timer.Type: float Range: 0.0 to blendIn Sample Code################ Get blendTime# get the controllercontroller = GameLogic.getCurrentController()# get the actuator attached to controller named Walkact = controller.actuators["Walk"]# get blendTimebTime = act.blendTime################ Set blendTime# get the controllercontroller = GameLogic.getCurrentController()# get the actuator attached to controller named Walkact = controller.actuators["Walk"]# set blendTimeact.blendTime = 1.0 |