Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: VascBogdan on February 07, 2015, 07:46:21 AM

Title: [SOLVED]Ignore Collision
Post by: VascBogdan on February 07, 2015, 07:46:21 AM
Is it possible to make an object to ignore collision with a tag object ?
For example, I have a bullet called EnemyBullet. If EnemyBullet hits an Enemy(tagged Enemy) it will just ignore the collision.

I don't want the object to ignore all collisions, only certain tags.
Title: Re: Ignore Collision
Post by: richardh on February 07, 2015, 08:22:35 AM
If the EnemyBullett is set up to only interact with a certain tagged collider then it should just ignore any other colliders it interacts with - including the Enemy tag.
Title: Re: Ignore Collision
Post by: wetcircuit on February 07, 2015, 08:41:13 AM
Assign your objects to different layers. In your project physics settings use the collision matrix:
(http://docs.unity3d.com/uploads/Main/LayerBasedCollision.png)
http://docs.unity3d.com/Manual/LayerBasedCollision.html (http://docs.unity3d.com/Manual/LayerBasedCollision.html)

(I apologize if I have misunderstood the question)
Title: Re: Ignore Collision
Post by: VascBogdan on February 07, 2015, 09:38:25 AM
I solved with the metrix thing and I also understand how to do it now. Thank you ^^