
localInertia
- gets the object's inertia vector in local coordinates.
Type:
- Type: float list [x, y, z]
- x = inertia on game object's x-axis
- y = inertia on game object's y-axis
- z = inertia on game object's z-axis
Note:
- Inertia is the game object's resistance to a change in it's movement.
- The greater an object's mass, the greater it's inertia.

Sample Code
################## get the object's local inertia
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# get local inertia
inertia = obj.localInertia