playMaker

Author Topic: Have an object collide with all objects but one [SOLVED]  (Read 2160 times)

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Have an object collide with all objects but one [SOLVED]
« 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.
« Last Edit: January 03, 2014, 06:47:44 AM by MrMitch »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Have an object collide with all objects but one
« Reply #1 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

MrMitch

  • Full Member
  • ***
  • Posts: 131
    • Rage Quit Games - Coming Soon
Re: Have an object collide with all objects but one
« Reply #2 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
« Last Edit: January 03, 2014, 06:48:54 AM by MrMitch »