I know how to set up collision groups but i somehow cant get masks to work.
this is how i set up a group:
A.rigidbody.group = pc.BODYGROUP_USER_1;
A.rigidbody.group = pc.BODYGROUP_USER_2;
Now i what that these 2 dont collide with each other using masks.
Tried to do it like that, but doesnt seem to work:
A.rigidbody.mask |= pc.BODYGROUP_USER_2;
B.rigidbody.mask |= pc.BODYGROUP_USER_1;