- Home /
Ball bouncing up after rolling over a cliff when it should be rolling down?
Hello! I am having an issue with rolling a ball off a cliff. You would think the ball would start falling down after rolling off the cliff, but it is instead launched into the air. This happens randomly in our game and I have captured and made a repro project for one of these hits. Just go into the "SampleScene", hit play, and watch the ball get hit every 3 seconds. This project was made in Unity 2018.1.6f1, but I have also seen this in some other versions I had installed: 5.6.5p1, 2017.2.3f1, 2018.1.7f1. Here is a preview with a trail renderer attached to the ball:
I can not for the life of me figure out why this is happening. I have tried messing with every physics/rigidbody/collider setting that I can think of. Some settings (for example changing the fixed timestep in the Time ProjectSetting) will fix a captured shot like the one in the repro project, but then I will find the issue somewhere else with a different position/velocity setup, so it seems the problem is avoided in certain cases but never truly fixed. Is it a physics issue? A setting issue? An issue with exporting the terrain mesh collider? Any help would be greatly appreciated - thank you!
Your answer
Follow this Question
Related Questions
how do i make pinball ? 1 Answer
Enemy bouncing physics 0 Answers
How can I show trajectory of a bouncing ball OnCollisionEnter/OnCollisionExit? 0 Answers
How To Make Ball Bounce On Touch 1 Answer
Simple peggle type ball physics 1 Answer