Question by
VaLightningThief · Aug 17, 2018 at 12:42 PM ·
enemyenemy ai
How do i stop my enemy from not colliding?
So my enemy has a Box Collider on but it goes through my character. The collider is set to isTrigger but that doesnt seem to affect it. Could someone please tell me how to make my eney touch me rather than go through me.
Comment
Answer by MT369MT · Aug 17, 2018 at 05:53 PM
If you don’t want to go throught your character you must add a collider to both objects (player and enemy) but without isTrigger.
Be sure to add the right collider depending if it is a 2D or 3D game.
Just tried this but it doesnt work. Have you got any other ideas.