Search Unity

How to improve 2D collisions

Discussion in 'Physics' started by JJ_FX, Dec 1, 2019.

  1. JJ_FX

    JJ_FX

    Joined:
    Mar 19, 2015
    Posts:
    63
    Hi,

    So I noticed Unity on default has very bad collisions. When my object hits a wall it does not bounce back, but just sticks to it (and falls down with gravity).

    It has to hit a wall with an angle close to 90deg to actually bounce back. With angles close to 45deg it still sticks to the wall.

    Bunciness is set to 1, no linear or angular drag. But does not bunce back enough, which feels very bad.

    I can probably within a script on collision, set to a "mirrored" velocity. But can't this just be improved somehow in the inspector or unity physics options?
     
    Last edited: Dec 1, 2019
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    5,627
  3. JJ_FX

    JJ_FX

    Joined:
    Mar 19, 2015
    Posts:
    63