min
min
gets/sets the lower limit for this constraint.
Type: float number
Sample
Code
#################### Get min
# get the controller
controller = GameLogic.getCurrentController()
# get the constraint actuator attached to the
controller named act
act = controller.actuators["act"]
# get the lower limit
lowerLimit = act.min
#################### Set min
# get the controller
controller = GameLogic.getCurrentController()
# get the constraint actuator attached to the
controller named act
act = controller.actuators["act"]
# set the lower limit
act.min = 0.5
|