+2 votes

The issue is VehicleBody won't move after getting flipped. If you drive, its OK, but after car getting on upside down, it won't move, wheels won't spin or steer, even if make car on right direction with some script functionality.

Godot version 3.3 Ubuntu
in Engine by (22 points)

Did I understand your question correctly? Do you want the car to stop when it turns reverse .
("My English is very bad. I'm sorry")

Nope. Car wheels are getting freezed, if car is upside down. That is the issue.


var wheel_spin = true

if car.rotationdegrees.x > 45:
spin = false
"don't turn the wheels"

No, I don't need to block wheels, on the contrary I don't want it, but Godot automatically do it.

1 Answer

+1 vote
Best answer

Uncheck "can sleep" in the properties of VehicleBody. That fixed this problem for me.

by (46 points)
selected by

Thanks. I'll try.

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 Frequently asked questions and 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 [email protected] with your username.