Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Collision detected even if objects are not touching Unity 2019

Discussion in 'Physics' started by amitranegames, May 4, 2019.

  1. amitranegames

    amitranegames

    Joined:
    Oct 23, 2013
    Posts:
    9
    I am facing a weird issue with collision detection in Unity 2019.1.0f2.

    I am making a Can Knock down kind of game.
    I have attached a Sphere collider with rigidbody on the Ball. The Collision detection method is set to Continuous Speculative.

    The Cans have Box collider on them with rigidbody set to Discrete.

    Now the problem that I am facing is when I shoot the ball with swipe gesture, even if the ball passes close by any Can without even touching it, the collision is detected. (I tried changing it to Continuous, Continuous Dynamic but the result is same)

    The same setup works perfect in Unity 2018.2 ( prior to Speculative Collision detection method) when the Collision detection method is set to Continuous Dynamic on Ball and Discrete on Cans.

    Is anyone else facing the same issue.