Index Hierarchy KKPhysicsContactEventDelegate Protocol Reference Conforms to NSObject Declared in KKPhysicsContactEventDelegate.h Tasks node property – didBeginContact:otherBody: – didEndContact:otherBody: Properties node The physics contact delegate’s owning node. @property (atomic, weak) SKNode *node Return Value The physics contact delegate’s owning node. Declared In KKPhysicsContactEventDelegate.h Instance Methods didBeginContact:otherBody: Called when two objects’s physics bodies get in contact. - (void)didBeginContact:(SKPhysicsContact *)contact otherBody:(SKPhysicsBody *)otherBody Parameters contact The contact object. otherBody The other contacting body. Declared In KKPhysicsContactEventDelegate.h didEndContact:otherBody: Called when two objects’s physics bodies' contact ends. - (void)didEndContact:(SKPhysicsContact *)contact otherBody:(SKPhysicsBody *)otherBody Parameters contact The contact object. otherBody The other contacting body. Declared In KKPhysicsContactEventDelegate.h Index Hierarchy