- Home /
Why does a rolling ball not accelerate past a slow speed?
I am making a game and basically a ball rolls down a slope forever. With just a rigidbody and a sphere collider, the ball first accelerates a bit down my slanted surface, but does not accelerate after reaching a speed. I need it to keep accelerating just like real life when you roll a ball down a ramp. If I try to artifically increase its speed, it slows back down to its original speed. All kinds of physics materials have been tried but does not solve the issue. Thank you
Answer by Eno-Khaon · Nov 26, 2017 at 08:45 PM
By default, a rigidbody's maximum angular velocity (Rigidbody.maxAngularVelocity) is 7.
This value is based around rotation using radians, so a single, full revolution will occur for every 2*pi angular velocity. In other words, a value of 7 will only barely be more than a single revolution per second.
Fortunately, that's an easy change to make. Increase Rigidbody.maxAngularVelocity and the ball will be able to roll considerably faster as a result.
If that still doesn't entirely solve the problem, then the next culprit would be the Physic Material applied to the ball and/or surface it's rolling down. With a high degree of friction, the ball will also be slowed over time.
Your answer
Follow this Question
Related Questions
My object is falling through the platform 1 Answer
Ball Rolling System 1 Answer
Bouncy Ball Game 1 Answer
Constant force, with gravity, and correct collisions. 2 Answers