Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question OnCollisionEnter2D triggered is not equal every time

Discussion in 'Physics' started by Sea_Flanker, Aug 28, 2023.

  1. Sea_Flanker

    Sea_Flanker

    Joined:
    Dec 13, 2022
    Posts:
    3
    Hello, I am a begginer with Unity, and for that exuse my question (and my english :)), but cannot understand why collision detection is not triggered every time on equal positions of both objects. In this case (on screenshots) ball is static 2d rigidbody and spring is 2d colider with dynamic cnanged offset. Sometime collision is triggered on time, but sometime very late. I supose the reason is update rate, but I bellieve have solvation.
    example 1.jpg example 2.jpg