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

OnTrrigerEnter2D doesnt work when the object moves fast

Discussion in '2D' started by electr1on, Mar 21, 2018.

  1. electr1on

    electr1on

    Joined:
    Mar 21, 2018
    Posts:
    28
    I do a game like biliard and I want the ball will collect diamonds by his collision with them.
    But when the ball is moving too fast , there is not detection.
    I hope there is solution about this.

    Thanks and sory for my bad English.;)
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Perhaps this video on collision detection modes will help?
     
  3. furroy

    furroy

    Joined:
    Feb 24, 2017
    Posts:
    93
    on the balls rigigbody try turning the collision detection from discreet (more efficient) to continuous (more expensive but helps to not miss collisions)