@Greenhouse wrote:
I'm reading Programming Guide Ch12 - Physics and I'm slightly confused how to setup and use CategoryBitmask and CollisionBitmask to filter collisions properly.
Say, I have the following physics bodies:
Body
player
,dumb
,edge
,barrier
,bonus
,tile
player
can collide withdumb
,edge
andbonus
dumb
can collide withdumb
,edge
andbarrier
barrier
can collide withdumb
bonus
can collide withplayer
tile
can collide with nothingHow to setup bitmasks and filter body collisions in such scenario?
Posts: 2
Participants: 2