Here is a setup i made last night for a ball rolling game test.
WSAD to control the ball and space to jump.
There is even a funky fake shadow effect under the ball.
you can only jump if the ball is on the floor… you can only roll if it is on the floor.
When in the air I added some simple controls to give the physics a somewhat mario64ish feel.
the controls have 8 directions.
To roll the ball properly I had to make a floor material with a friction of 10, and the roll damp set to full on in the dynamic game buttons. for the movement I used the angV to the global X,Y,and Z directions. Avoid useing the roll and torque it makes the ball very hard to control.
the jumps are all done with linV, and the air controls are all done with force.
Version 2, 8 directions rather than 4
Version 3, Stencil shadow hack
Version 4, shadow fixed, nice looking scene