0 votes

Hi, I setup a VehicleBody, did the same things on tutorials and check the docs. VehicleBody is parent of CollisionBody and Wheels, each VehicleWheel has a child MeshInstance, and also there is model of car attached to VehicleBody. Car is sitting coretly on the wheels (collision body is not in the contact with terrain).

I really dont know where can be a probleme, car simply move by setting up an Engine force, but wheels are not rotate. just "bouncing" of a ground when they accros an obstacle.

I am using Godot 3.1 beta 4. I tested a vehicle demo from "Bastiaan Olij" (tutorial on youtube) - wich work, so I change "all" (probably not all, when its not working) characteristic and still not figure out where is a problem.
I would be happy if someone can help me.

in Engine by (61 points)

1 Answer

0 votes

I also worked for the problem for sometime and found it can be solved by setting wheel direction to +Z axis.
My wheel didn't rotate when it was facing X axis. After setting direction along -Y axis in blender and exported as gltf, wheel direction would be +Z, which rotates when car is moving.

by (25 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.