Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Hockey puck gets "sucked" to corners

Discussion in 'Physics' started by henymeny, May 16, 2021.

  1. henymeny

    henymeny

    Joined:
    Apr 19, 2014
    Posts:
    10
    I'm using a scaled cylinder for the hockey puck which has a capsule collider, but I assume it's fine because I ignore movements over Y axis.

    In the video I've created a physics material with bounciness 1 and friction 0, the puck has mass 1 and drag 0.2, but once the puck is slow instead of bouncing it gets sucked to the corners:


    I've tried playing with all these settings, friction, drag, mass, collision detection & interpolation and others but can't seem to find the problem. Could it be the capsule collider? or is this some physics engine quirk I'm not aware?

    Any ideas appreciated.
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,493
  3. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    783
    Most hockey rinks doesn't have sharp corners. :)
     
  4. henymeny

    henymeny

    Joined:
    Apr 19, 2014
    Posts:
    10