- Home /
Rigidbody ball physics
Hi there
Our game contains a ball (moved using rigidbody.AddForce) with a sphere collider and rigidbody attached. Use gravity is selected but the ball does not react as you would expect. For example, on a downhill slope as soon as you stop adding force to the ball it will decelerate to a constant rolling speed as opposed to gaining speed as you would expect. No amount of fiddling with Mass, Drag or Angular Drag seems to change this behaviour!
Also if the ball hits a vertical wall it will roll up it rather than bounce off however an angled slope seems to result in normal behaviour.
Any suggestions would be greatly appreciated. Thanks
In that scene, if you create a sphere and JUST add collider and rigidbody. Does the phx work without the script? Cause this sounds really weird. And it sounds like your doing something wrong in your script or have like 100000000 friction :S or something...
Answer by SnailMail152 · May 25, 2013 at 10:11 PM
I just tested a ball and a slope by itself and it works fine, perhaps there is an error in your script?
Your answer
Follow this Question
Related Questions
Gravity on a rotating platform 1 Answer
How can i rotate player when player jump ? 2 Answers
Tornado throwing back force after pulling 1 Answer
Gravity Is Slow But Unit Scale Is 1.0 1 Answer
Artificial Gravity 2 Answers