OnTriggerEnter2D at high velocity
I have a Box Collider2D where IsTrigger is true. There are other stationary Circle Collider2D's that are to be destroyed when they enter the Box Collider2D. I use OnTriggerEnter2D to accomplish this.
Everything works perfectly when the velocity is relatively low. The problem is when the velocity gets high - I think the trigger is getting missed sometimes (perhaps the trigger detection is done between fixed update calls).
Has anyone run into this issue and solved it? I know I can restrict the speed to make sure the detections are all there, but I would like the player to be able to go as fast as they want with everything working correctly.
Your answer
Follow this Question
Related Questions
A box collider 2D (Is Trigger marked) stops my player from moving which has rigidbody 2D 1 Answer
How to identify which collider generated OnTriggerEnter2D 0 Answers
OverlapBox not working as expected 0 Answers
void OnTriggerEnter() not working properly? 0 Answers
Problem counting with OnTriggerEnter2D (Conway's Game of Life) 0 Answers