playMaker

Author Topic: [solved] Collision separation  (Read 1700 times)

DingoMan

  • Playmaker Newbie
  • *
  • Posts: 4
[solved] Collision separation
« on: December 24, 2013, 02:20:57 PM »
Hi,

Is there any way to make an object with collider to react only for some other object collider and for some just to ignore them?

Thanks,
Dingo
« Last Edit: December 27, 2013, 01:10:13 AM by DingoMan »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Collision separation
« Reply #1 on: December 26, 2013, 02:25:55 AM »
Hi,

Yes, several options here:

-- use physics layer to tell the physics engine what layers can interact with each other, very low level and raw segmentation:

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

-- Tag your objects and use the action "Trigger event" or "Collision Event"

-- use the global event like COLLISION ENTER or TRIGGER ENTER ( and the rest), and filter manually, either by object name, its parent, its tag, position or even querying the object by check fsm variables on that gameobject using the action "get fsm xxx" action.

Bye,

 Jean

DingoMan

  • Playmaker Newbie
  • *
  • Posts: 4
Re: Collision separation
« Reply #2 on: December 27, 2013, 01:09:21 AM »
Thanks Jeanfabre.