LHPhysicsProtocol Reference
LHPhysicsProtocol.h |
Overview
LevelHelper-2 nodes that can have physics conforms to this protocol.
Instance Methods
removeBody
- (void)removeBody
Discussion
Removed the physics body from the node. The Cocos2d-X node will still be alive. If you want to remove the node call "removeFromParent" instead. Note that you won't be able to recreate the body after removal without recreating the entire Cocos2d node. If you need the physics body at a later time you may want to change the physics type to No Physics.
Declared In
LHPhysicsProtocol
.h
Copyright © VLADU BOGDAN DANIEL PFA.