
getPhysicsId()
- Returns the ID number of the object's physics controller.
Return Type:
- integer

Sample Code
################## get the game object physics ID
# import bge
import bge
# get controller
cont = bge.logic.getCurrentController()
# get object that controller is attached to
obj = cont.owner
# get the object's physics ID
physicsID = obj.getPhysicsId()