Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotated VehicleWheel spins in the wrong direction #47650

Open
Tracked by #45333
Zylann opened this issue Apr 5, 2021 · 3 comments
Open
Tracked by #45333

Rotated VehicleWheel spins in the wrong direction #47650

Zylann opened this issue Apr 5, 2021 · 3 comments

Comments

@Zylann
Copy link
Contributor

Zylann commented Apr 5, 2021

Godot version:
Godot 3.2.3

OS/device including version:
Windows 10 64 bits

Issue description:
I started experimenting with VehicleBody and VehicleWheel, and quickly noticed the axis convention for "forward" on the wheels is +Z, which is against the convention Godot uses (-Z) for other things such as the camera and look_at. So I decided to flip wheels by rotating them by 180 degrees. The vehicle properly moves in the opposite direction, and steers in the same relative direction. However MeshInstances I added as child of the wheels rotate backward now, which is inconsistent with the physical result.

Steps to reproduce:
Create a VehicleBody with 4 wheels, and set wheel Y rotations to 180 degrees.

Minimal reproduction project:
VehicleWheels.zip

@KRC2000
Copy link

KRC2000 commented Dec 9, 2023

Encountering same issue

@timbeaudet
Copy link

Just chiming in... got it happening here in 4.2.1

@Deltt
Copy link

Deltt commented Sep 25, 2024

Is there a known workaround for this by any chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants