I’m trying to create some walls and some other objects that will bounce off the walls but not off each other. I thought this would be easy. But it never seems too work for me.
I have a set of walls and another set of ball objects. Balls should collide with walls, but not with other balls. This is what i have been using, but it doesn’t seem to work.
local wall_collision = { categoryBits = 1, maskBits = 2 }
local ball_collsion = { categoryBits = 2, maskBits = 1 }
What I am I missing? Seems that walls have the Category of 1 and they should collide with Category 2. Balls have Category 2 and should only collide with Category 1 [import]uid: 98652 topic_id: 24911 reply_id: 324911[/import]
[import]uid: 52491 topic_id: 24911 reply_id: 101198[/import]