Ignore collisions

Is there a way to avoid collisions between two objects ?

I have a labyrinth that contains “coins”. Coins should be eaten only by me(pacman). The problem is that, those coins can be eaten by ghosts too :frowning: . I want to avoid those collisions between ghosts and coins… some ideas ?

I have a trigger on every coin…so when a collision occurs the coin dissapears.

On rigidbody there are two properties: group and mask, that allows you to define what collides with and what ignores collision with.

Here is an answer from Dave on this: http://answers.playcanvas.com/questions/953/how-to-use-collision-groups