Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started 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.
-
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.
-
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)
-
I solved with the metrix thing and I also understand how to do it now. Thank you ^^