- Home /
Question by
pigaroos · Sep 01, 2019 at 05:36 PM ·
triggerrigidbody2dcollision2d
Trigger detection failing when laggy
Hello everyone, in my game (2D) I check if a player has gone on the wrong path by a trigger. However, when the player is going a little faster than normal, and if the game is a little laggy, it seems to skip over a detection once in a while. I have set the player's rigidbody's collision dectection to continous, while the obstacle is a collider with a trigger. How do I go by improving the situation? Additionally, would adding more triggers/colliders work (though it would be time consuming)?
Thanks for any insight.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612211531im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Many 2D rigidbodies optimization 1 Answer
Have 2 colliders on same trigger (and hit the first to enter) 0 Answers
Physics 2D disable bounciness 1 Answer
Rigidbody ricochet effect error on 2D 0 Answers