Quantcast
Channel: Questions in topic: "ignorecollision"
Viewing all articles
Browse latest Browse all 148

How to ignore collisions while using collider trigger ?

$
0
0
i am working on 2d platform stealth game. My enemy detect me by collider2d, is mean if player go in to the circle collider 2d (trigger) my detect system is going to work. So the problem is if i use Physics.IgnoreLayerCollision function to take my player go through an enemy , my detect system will not work. I hope someone can give me a solution for this problem Many thanks and sorry for my pool english.

Viewing all articles
Browse latest Browse all 148

Trending Articles