-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Vehicle physics is broken with current Godot. #4146
Comments
Another workaround is replace the VehicleBody node with Spatial using UI button, |
well, it seems you have to delete CollisionShape then use above workaround to get rid of vibration and jumpiness. |
Single huge CollisionShape fixes this problem, it seems that stability depends on CollisionShape size, |
it seems that everything depends on CollisionShape size, looks like the bigger the collision shape, |
At least some multiplier should exist to control this behavior... |
Trying to setup vehicle Godot crashes without any errors specified. Console output: CLOSING CONNECTION At: drivers/unix/stream_peer_tcp_posix.cpp:276. |
Well, I will stop digging on this, hope somebody will fix this can of worms. |
Center of mass is a too critical setting. If the center of the body shape is approximately the same of the body origin, the vehicle is stable. |
The thing which troubles me most is car stability depending on collision shapes. |
Is this still an issue? |
Dunno, not used Godot for a long time now, and will not be able to for several months. |
I'm seeing the vibrations on my project exported to 3.0 (strangely, no vibrations in 2.0). This is in the same test project as #8651 |
Closing as superseded by #12521. |
Operating system or device:
Linux, but seems unrelated
Issue description (what happened, and what was expected):
Setup a car using the same parameters as in truck town demo.
Don't add collision shape. Use y-offset of 0 for the wheels from body, and setup
every wheel parameter to the same configuration as in demo.
Don't add collision shape yet, test your car - it should be stable on flat ground,
no jumping, just stationary.
Steps to reproduce:
Add collision shape (I used Box). The expected outcome is nothing changed in car behavior.
Actually, car starts to vibrate at high pitch rate. Delete collision shape - nothing changes, still vibrating and jumping around surface. The only way out is delete scene and start anew.
Not adding collision shape avoids this bug, but everything passes through your car then.
Link to minimal example project (optional but very welcome):
Will add if nobody can reproduce this.
It seems that other tweaking of parameters lead tho this problem, but it is quite random and unrelated,
as returning to known set won't fix it and problem still persists.
Video, demonstrating this bug: https://youtu.be/IzwvcN0Jbo0
The text was updated successfully, but these errors were encountered: