Search Issue Tracker
By Design
Votes
0
Found in
5.3.5f1
Issue ID
809762
Regression
No
ball with PhysicsMaterial2D.bounciness = 1 bounces higher with each bounce
Steps to reproduce:
1. Open attached project "bouncetest.zip"
2. Open "bounce_scene" scene
3. Run the scene
4. Notice how "ball" bounces higher with each bounce even though bounciness is set to 1 (Editor outputs max height in Console, .gif attached)
Expected behavior: according to documentation("The degree to which collisions rebound from the surface. A value of 0 indicates no bounce while a value of 1 indicates a perfect bounce with no loss of energy.") the ball should bounce perfectly and reach the same height with each bounce.
Reproduced with: 5.2.4f1, 5.3.5p5, 5.4.0b24
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Label is not centered when using flex-direction: row
- Incorrect initial target position when the Skinning Editor's "Depth" parameter is adjusted on a bone which is set as the "Effector" parameter on the "Limb Solver 2D" Component
- The order of activation for Water Deformers and Foam Generators will cause water artefacts in the Player
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play mode on a specific project
- Crash on CachedWriter::Write when building a specific project with a default runtime TSS
riyehn
Mar 04, 2018 21:10
I had the same issue in my own project in 5.6.1f1.
Setting the collision detection on the ball to "Continuous" resolved the issue.
howartthou
Feb 22, 2017 11:14
So while a value of 1 indicates a "perfect bounce with no loss of energy" according to the documentation but the ball actually loses energy and slows down, how is this behavior "by design"? This needs an explanation.
So how do you get a ball to bounce without losing energy then?