|
getPhysicsIdgetPhysicsId()Returns the ID number of the object's physics controller.Return type: integer Sample Code# get the controllercontroller = GameLogic.getCurrentController()# get the game object that the controller is attached to.obj = controller.owner# get the object's physics IDphysicsID = obj.getPhysicsId() |