Answer the question
In order to leave comments, you need to log in
How to make objects not pass through the trigger?
I'm making a simple toy, I ran into a problem that the Player object passes through the Enemy object which is a trigger (this is necessary in order to handle bullet collisions), I don't need it, but I need a trigger. Prompt as it is possible to make that objects did not pass through the trigger?
Answer the question
In order to leave comments, you need to log in
You can check by tag, if an object with the "Player" tag collides with Enemy, then Enemy turns off isTriggered.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question