trying to wrap my head around what values to use.
Collision filtering variables:
-group index
-category bits
-mask bits
Object A - Hero
Object B - Bullets
Object C - TV(non obstacle decoration that you can shoot, but doesn't get in your way)
Object D - Wall (obstacle both hero and bullets hit)
Object E - Chair(obstacle)
here is a comprehensive list of what i intend.
hero - hero = NA (only one)
hero - bullets = false
hero - tv = false
hero - wall = true
hero - chair = true
bullets - bullets = false
bullets - tv = true
bullets - wall = true
bullets - chair = true
tv - tv = true
tv - wall = true
tv - chair = true
wall - wall = NA (static)
wall - chair = true
chair - chair = true
for some reason I'm having a brain block on sorting out the appropriate values, writing it all out might help.
ill post my results here too.
Collision filtering variables:
-group index
-category bits
-mask bits
Object A - Hero
Object B - Bullets
Object C - TV(non obstacle decoration that you can shoot, but doesn't get in your way)
Object D - Wall (obstacle both hero and bullets hit)
Object E - Chair(obstacle)
here is a comprehensive list of what i intend.
hero - hero = NA (only one)
hero - bullets = false
hero - tv = false
hero - wall = true
hero - chair = true
bullets - bullets = false
bullets - tv = true
bullets - wall = true
bullets - chair = true
tv - tv = true
tv - wall = true
tv - chair = true
wall - wall = NA (static)
wall - chair = true
chair - chair = true
for some reason I'm having a brain block on sorting out the appropriate values, writing it all out might help.
ill post my results here too.