Hi, I am making a driveable car but when it starts the wheels are not turning properly on the center axis.
Here are screenshots of what happens:
And the project:
https://www.dropbox.com/s/atuxo9bk1ptk8s1/Voxel%20Car%20Racing.unity?dl=0
Hi, I am making a driveable car but when it starts the wheels are not turning properly on the center axis.
Here are screenshots of what happens:
It looks like the radius of the wheel collider is different to the radius of you wheel meshes, or is that snow you are driving in?
Nope, neither of them are the case. I don’t know why it’s not rotating by the center axis
Why then do the wheels sit under the surface of what the vehicle is sitting on?
The snow question was a joke by the way.
Your mesh pivots are incorrectly setup. You need to correct the issue in your favourite 3d tool… (blender/etc)
well unfortunately i used magicavoxel to create the tires and it doesn’t have an in app ability to change the pivot points of the mesh… oh well
If your mesh pivots are not centered, make a parent GameObject for each wheel and displace the child mesh until it’s apparent center is located at the parent’s center. Then rotate the parent GameObject to make the wheel turn.