
setCollisionMargin(margin)
- Sets the collision margin of a game object.
margin:
- Type: float
- Range: 0.00 to 1.00 Blender Units

Sample Code
################## set the collision margin
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# set collision margin
obj.setCollisionMargin(0.1)