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.
Enjoy
Version 1
http://www.savefile.com/files/1136314
Version 2, 8 directions rather than 4
http://www.savefile.com/files/1136456
Version 3, Stencil shadow hack
http://www.savefile.com/files/1136724
Version 4, shadow fixed, nice looking scene
http://www.savefile.com/files/1137271