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

A problem with PhysicsMaterial2D

Discussion in 'Physics' started by Piatnochka, May 10, 2019.

  1. Piatnochka

    Piatnochka

    Joined:
    May 10, 2019
    Posts:
    1
    I have a player object, a ball and a line on my scene. Player`s object can push and hit the ball. Ball cannot cross the line. I added a PhysicsMaterial2D with bounciness = 1 to the ball to implement a rebound. The ball twitches when player`s object presses it to the line. How can I fixed that? I will be glad for any advice.