Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: nabilfx on December 30, 2014, 11:53:02 AM

Title: [SOLVED] Collision Object
Post by: nabilfx on December 30, 2014, 11:53:02 AM
how i can enable, collision for 2 object specific, without afecting the other objects?
Title: Re: Collision Object
Post by: mdotstrange on December 30, 2014, 12:15:59 PM
I'm not sure if I understand the question but you use tags to isolate objects-

So set the two objects to the same tag that the collision event is looking for-
Title: Re: Collision Object
Post by: nabilfx on December 30, 2014, 02:18:58 PM
i put an image for you understand.
Title: Re: Collision Object
Post by: Lane on December 30, 2014, 02:32:24 PM
Change the collision matrix so the Layer for the bullets does not collide with the Layer for the wall you want it to go through.

http://docs.unity3d.com/Manual/LayerBasedCollision.html
Title: Re: Collision Object
Post by: nabilfx on December 30, 2014, 02:57:39 PM
Thank you very, very much, works great!!!!