Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Question How to limit bounciness on 2D physics material?

Discussion in 'Physics' started by Wuvas, Dec 3, 2022.

  1. Wuvas

    Wuvas

    Joined:
    Nov 29, 2022
    Posts:
    1
    Hi I'm new to unity and for my first project I have created a single player version of pong using tutorials and my limited knowledge of C#. I wanted it to get increasingly harder so I set the bounciness of the physics material for the ball to 1.02 with 0 friction to make the ball boucne faster and faster. The problem is that eventually it becomes impossible due to the speed of the ball. So I was wondering if there was a way to set a limit on how fast the ball bounces. Thanks for your time!

    upload_2022-12-3_14-58-54.png
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,701