For example, let's say I have a block being hit with several balls. How would I make it so the function gets run when any ball hits the block? (as opposed to a singular ball hitting the block)
Essentially, I want this:
func ccPhysicsCollisionBegin(pair: CCPhysicsCollisionPair!, AllBalls[] nodeA: CCNode!, block nodeB: CCNode!) -> Bool {
return true
}