- Home /
Trigger still works when disabled
Hello! I have made an animation with a circle collider2D. OnTriggerEnter, the level resets. But even when I have the "Is Trigger" disabled, it still resets the level upon touching. I am at a loss right now, have no idea what is happening. Any advice?
Answer by dan_wipf · Feb 02, 2019 at 02:56 PM
show some code please, or we cant help
@dan_wipf It's not about code. It's about properties/components. I already figured it out though, so there's that.
hm hard to say, but my guess is that there are multiple triggercoliders, which can trigger an event in your script. there are ways to limit the triggers accesability in a script like collider.tag or collider.name
Yep, that was it. The player object's circlecollider2D had 'Is Trigger' on. Thanks!
Your answer
Follow this Question
Related Questions
Can I make animations snap to a frame? 1 Answer
how to get current gameObject animator triggers? 1 Answer
making a chair animate float and fall 0 Answers
Problem with Animation triggring 0 Answers