Module.removePhysicsBody()
| Type | function |
| Library | wattageTileEngine.Module.* |
| Return value | VOID |
| Keywords | |
| See also |
Overview
This function removes a physics body from the module. After a physics body is removed from the module, the physics body is no longer under the modules management. Activating/deactivating the module will no longer activate/deactivate the physics object.
Syntax
Module.removePhysicsBody( physicsBody )
physicsBody (required)
DisplayObject. The physics body to remove.
Examples
moduleInstance.removePhysicsBody(physicsBody)