
linVelocityMax
- gets/sets the object's maximum linear velocity.
Type:
- float number

Sample Code
################## get the max linear velocity
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# get max linear velocity
maxLinVel = obj.linVelocityMax
Sample Code
################## set the max linear velocity allowed
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# set max linear velocity
obj.linVelocityMax = 56.1