Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: MrMitch on January 03, 2014, 12:32:45 AM

Title: Have an object collide with all objects but one [SOLVED]
Post by: MrMitch on January 03, 2014, 12:32:45 AM
Ok so i have spheres rolling down a slope, i want them to collide with the slope but not each other.

Anyone have suggestions on how i'd make that happen? i'm working with 2D and sprites.
Title: Re: Have an object collide with all objects but one
Post by: jeanfabre on January 03, 2014, 04:29:39 AM
Hi,

 Typically, this is solved with Physics collision matrix:

http://docs.unity3d.com/Documentation/Components/LayerBasedCollision.html

 Bye,

 Jean
Title: Re: Have an object collide with all objects but one
Post by: MrMitch on January 03, 2014, 06:47:22 AM
I forgot about the collision matrix, it works just as i wanted it to :)

Thanks Jean :D