classes/class_vehiclewheel3d #381
Replies: 2 comments 1 reply
-
Note that if you want a child (e.g. a tire mesh) to rotate naturally as the wheel moves along a surface, the VehicleWheel3D should have default transform rotation. Forward is in the +Z direction. Rotating the VehicleWheel3D transform breaks child mesh rotation. To avoid this, rotate the parent VehicleBody3D instead and default the VehicleWheel3D transform rotation. |
Beta Was this translation helpful? Give feedback.
-
No matter what I do, when still and applying brakes, the wheels vibrate violently. I'm using an extremely simple setup with just the most basic components for a vehicle, and the higher I apply the brakes the more vibration I get. It's so confusing, because it doesn't vibrate when driving, or when braking, only when I come to a complete stop. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_vehiclewheel3d
Inherits: Node3D< Node< Object A 3D physics body for a VehicleBody3D that simulates the behavior of a wheel. Description: A node used as a child of a VehicleBody3D parent to simulate the behavior o...
https://docs.godotengine.org/en/stable/classes/class_vehiclewheel3d.html
Beta Was this translation helpful? Give feedback.
All reactions