Of course! I was doing a sharp turn and the car flipped over. When I put it back on its feet it stopped moving. Maybe it clipped the floor? If you want I can try to replicate it tomorrow
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