- Home /
WheelColliders causing my wheels to hang in the air
Hi Guys,
I'm still learning Unity.
I've added 4 wheel colliders to my wheels. The wheels are floating in the air when pressing the play button.
What can I do to get this fixed?
Please let me know if you need more information I will add it?
Below is a new screenshot of the wheelcolliders.
Before you press play, (in the editor), do they start in the air? Or on the ground?
Answer by GaucheBobcat970 · Jun 20, 2013 at 11:23 AM
I've solved my issue.
I was using the transform x y z to move and size the wheelcolliders. This is the wrong way of doing it.
You must use the wheelcolliders own radius and x y z to size and move otherwise the physics goes all weird.
Hope this helps someone else.
Answer by JamesLeeNZ · Jun 19, 2013 at 11:29 PM
You should provide a screenshot that shows the colliders.
kind of looks like your wheel meshes are in the wrong place based on the location of the car and the location of the wheels
I've added another screenshot of the wheelcolliders in wireframe.
Thanks
Your answer
Follow this Question
Related Questions
Wheelcolliders launch the car. 0 Answers
Perfect friction with WheelColliders 1 Answer
How to make a car not slow down while turning? 2 Answers
Car wheel not detecting ground 1 Answer
Rigidbody car with wheel colliders gets stuck in ground 0 Answers