Thank you for playing. Would you mind describing the conditions under which the car stopped working? I want to fix it so much.
Viewing post in Hyperglycemic Nightmare jam comments
No need for scenario for flipping, I know couple of them. Some just need car/surface adjustments. I still think that some flipping will be ok if the player is doing dangerous things, but yeah, now it sometimes flips for stupid reasons.
As for not moving after respawn, I really don't know how to reproduce that, although I think I saw it once. I suspect it's a glitch in the automatic-handbrake feature I've implemented to prevent it rolling while the player isn't controlling it, but it makes no sense from the code point of view, it literally turns it off each frame while the player is inside, and only turns it on when player exits the car. So might be something else entirely.
It totally shouldn't accelerate if the wheels aren't touching the ground. And judging on how the wheels are hanging in your screenshot as if suspension is totally extended, it can be as well that it thinks that it's not touching the ground. But this exact code is built in the game engine, so I it would be tricky to investigate. Maybe I'll just respawn it higher and let it fall and it would fix the issue. But I still can't really reproduce it now, so even after doing the change I wouldn't know if it's ok
Here's the test page, password protected:123
https://no-login-found.itch.io/test
The car is heavier as several players requested, with lower center of mass, so it should be harder to flip. It's also respawned 1m above the 'valid place', so probably would solve the issue with 'in-the-ground-not-moving'.
Thanks very much for your help
I just replicated the issue. I have to say, it was hard! But yes, it appears the car clipped through the ground. The wheels didnt move at all from this position, my guess would be that the car thought it wasnt grounded because it was clipped and thats why it stoped moving, but Ive never made a game like this before so idk. Here goes the capture:
I hope that helps you.