RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
991 stars 175 forks source link

Important glitch when repairing vehicles #3062

Closed YottaMxt closed 1 year ago

YottaMxt commented 1 year ago

Steps to reproduce

1.Start a game 2.Spawn two or more vehicles 3.Try repairing each vehicles at least twice

Expected behaviour

Repair the car and let it fall to the ground.

Actual behaviour

Note: this issue is frequent but random, so it might be because of the vehicle, idk. When the glitch occurs, the vehicle stays suspended in the air, and all truck controls are stuck (assigned keyboard keys just don't work). Throttle and brake keys just move the vehicle in "ghost" mode (like when repairing vehicles but even without holding the appropriate key, the vehicle floats in the air without collisions nor physics and about the sound, the current pitch is constant as long as the vehicle is like this).

System configuration

OS: Fedora 38 Renderer used: OpenGL

Additional information

Although I think the vehicle doesn't matter, the used vehicles were Ford Windstar LX Tenzo and Audi 1.6 FWD

Fresh RoR.log attached (even if I cleared it before the test, and closed RoR after the glitch it's too long to just paste if here). RoR.log

CuriousMike56 commented 1 year ago

Holding the backspace key for one second enters 'interactive repair' mode, which it sounds like you're activating by mistake: https://forum.rigsofrods.org/threads/the-fabulous-flying-forty-nine.3883/#post-19449

CuriousMike56 commented 1 year ago

The interactive repair feature could be improved:

ohlidalp commented 1 year ago

I'd rather introduce a separate hotkey like Alt+Backspace than to tweak the hold-Backspace mode. EDIT: I didn't know the keyboard-positioning worked also while holding Backspace, I thought it was only in the interactive mode. So I'll go with increasing the timeout.

Anyway I'll add a state box on the top, like the "physics paused/terrain editing" one.