I'm trying to create a simulation of a Ball rolling on a surface that causes friction or a form of resistance.
I am handling a standard sphere with a bulletSphere collision added to it. I am then dropping the ball onto a triangulatedMesh which runs at a slight slope downhill.
The ball at present lands on the slope and then continues to roll all the way down (as you would expect). However I want slope to be treated as a surface that create resistance on the ball, e.g. a ball on grass.
How can I apply a form of simulated friction to the ball to simulate the resistance and get the ball to stop on a slope.
I am currently very new to Bullet Physics and 3D maths so please bear with me if I'm not too sure what you mean.
Note: I have tried using angular and linear damping however I seem to have really bad effects with these.
Angular Damping only stops the ball when I set it to 0.99f;
Linear Damping also affect gravity so therefore the ball falls really slowly or even stop mid fall.
Any help with this would be great as Google doesn't seem to like this question