2 dynamic objects Without collide with each other

I wanna create 2 dynamic objects that collide with every scene unless each other.
Like “Collision Groups”, but this function not work in BGE :confused:

Use collision groups and masks (BGE physics panel)

Didn’t work here :confused:

collisionMask and collisionGroup are accessible from python

Are you using them correctly? Maybe provide a demo file

yeah, mask + groups work in the game engine…

Collisions don’t happen between scenes, so the solution is simple, use the same scene.

How?! I’ve tryed and didn’t work…

One set is the collision group the object is on, the other is objects it can collide with.

so basically, make sure that the two objects that are not supposed to collide, can’t collide with the objects in their own group…