blendTime
blendTime
gets/sets the internal frame timer.
Type:
float
Range: 0.0 to blendin
Sample Code
################ Get blendTime
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Mouth
act = controller.actuators["Mouth"]
# get Blendtime
bTime = act.blendTime
################ Set blendTime
# get the controller
controller = GameLogic.getCurrentController()
# get the
actuator attached to controller named Mouth
act = controller.actuators["Mouth"]
# set Blendtime
act.blendTime = 2.0
|