Open GrimJerr opened 4 years ago
Love the Mod but I am having a lot of frustration with the wheels clipping to the ground when the vehicle flips or rolls
https://youtu.be/D9DSomCp5cs You can see it in this video also @ 12:06 Sometimes you get lucky and get unstuck, but mostly it is just stuck, respawn.
Yeah, you've managed to find the one issue of the wheel sim that I've never found a solution for. Basically, I use colliders as proxies to keep the wheels from over-compressing. Those same colliders have to be set to be frictionless or it causes problems at max compression.
But then... when the vehicle goes on its side, you end up with the issue seen above. (as it ends up resting on these colliders, and slides all over because they are frictionless)
I wonder... can I make a spherical collider, and then scale it down on the x-axis? so it becomes a weird 3d elipsoid?
I don't have the software or the experience but I was envisioning a dome on the end of the Hub with colliders, that would allow it to roll back onto one of the other axis. If it was modeled without a texture it would be invisible (?), of course then you'd run the risk of running into other objects with an invisible Collider on the end of the hub.
of course then you'd run the risk of running into other objects with an invisible Collider on the end of the hub.
Yep, that would be the issue. But also likely to be the solution, or something similar.
As long as the additional colliders were positioned and sized appropriately, they could be kept within the bounds of the visible wheel meshes, and so should line up closely with what would be expected.
Notably, I need to see if I can scale a sphere collider on one axis.... (as noted above).
Should be solvable, but might take a bit of thought and careful manipulation...