Hi, I ham following the roll-a-ball tutorial and the issue I am having is that when I try to move the ball the ball lists off of the plane/ground about 1 inch before moving in the direction I want it to go in.
If I move the ball to the left, it lifts about an inch and then moves over to the left. Same when moving right.
Any ideas how I can fix this/what the problem is?
I copied the script directly from the tutorial and so would have thought the script was ok.
Many thanks
Does the ball stay an inch apart from the ground or does it come back to the ground when not moving?
Check your colliders. Your collider must be bigger than your mesh.
That’s strange. Are you sure the plane object below you (and its collider) are properly setup? It could be they are higher, and that pushes the ball up. That’s all I can think of …
I did follow the tutorial as exact as possible. I will redo it though now I can concentrate on this project. Thanks for the response. I do believe that the plane is setup at zero and the colliders seem to match up ok.
All of my focus was on the player/ball. I unticked “Convex” in the plane collider and no the ball sits on the plane. I believed it was ticked by default so left it alone when I looked previously.