The OnTriggerEnterEnter2D event is sometimes not triggered with fast moving objects because the objects colliders already passed each other between 2 frames/updates.
Even setting the “Collision Detection” of the RigidBody to “Continuous” doesn’t seem to help.
How can I trigger collisions of fast moving objects?
Hi Davelicious,
This is a known problem in Unity. What you could do is to slightly increase the values in the Physics2D Manager. Do not start with the highest values because increasing the values will have a negative impact on the performance of your game. Your game might become laggy, so be careful.
Did this help?
See also:
- Forum User Guides : How to mark a topic as solved
2 Likes
This definitely helps.
I also found workarounds in the unity forum using Physics2D.LineCast or Raycasts
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.