Post

Replies

Boosts

Views

Activity

Reply to Contact bitmask for multiple SpriteKit nodes
There are only 32 bits in the bitmask. These bits are for allowing types of contact, or contact between types of nodes. You should use just one of the bits for all these balls. The contact test delegate will get called for each pair of nodes. In the contact test delegate, examine the ball node and make the changes you need.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Feb ’21