Hi guys,
I’m working with a physics ball game,but I meet some velocity/acceleration problems, In these 3 days I have googled a lot of articles with many keywords,but I am still very very confused with these problems,and totally have no idea to deal with it.
My game is a ball with rigidbody , when arrow keys are pressed, I will add a force on the ball using “AddForce” to make it move,here are my questions:
- why the velocity of ball has a max value, when I use “Debug.Log” to print the “velocity.magnitude”, I always saw a max value such as “10.459123”(the max value depends on the mass,drag etc)
- when I put the ball on a 15(can be others,but not to big) degrees slop, let it roll down with no other external force except gravity, what I expect is the ball will roll down the slop more an more fast,but it’s not, the velocity reach a max value in a short time, It seems like there is no gravity acceleration, the ball roll down the slop in constant velocity .But If I change the degrees of slop to a big value such as 45 degrees, then the velocity is increasing…
- the rotation of ball seems NOT relavtive with the velocity, when the ball move very fast, it should rotate fast too,but It’s not, it rotate very slow,why ?!
I have tried to scale the world, change the mass,drag etc , or add a physics meterial, change the frictions… but the problems are still not solved.
Is there anyone know something about these problem? Is there some articles useful? or If It is a limit of the unity/phyxs? How do you solved problems like that in your game?
Should I write the phyxs part myself to make it more realistic?
I thought that when I set the varibles like mass,drag,friction etc, unity will do the physics part, am I wrong? you guys just write your own physics code to make you game more realistic?
I was stuck here for 3 days… Please help me
I am not good at english, if it’s not clear and you what more infomations about the problems ,please tell me.
pictures about the problems:
[56161-qq截图20151014185314.jpg|56161]
[56162-qq截图20151014185456.jpg|56162]