rigs-of-rods
rigs-of-rods copied to clipboard
🎮 Enabled character/actor collision in multiplayer.
This is an experimental spinoff from https://github.com/RigsOfRods/rigs-of-rods/pull/3049. I felt inspired.
Since the collision works by "sticking" the character to the actor while in contact, I realized I could extend our existing driver-attachment logic to also handle this attachment.
It's glitchy right now, partly because the networked cab offset is always in world coordinates, so it causes sliding when the vehicle turns.
I'm trying to fix the turn-sliding problem and I'm not vey successful. I managed to glue the character onto the cab so he doesn't slide but can't walk either and the positioning is still off. See commit (DEBUG - DIRTY) super-glued rorbot on cab, sliding gone but so is walking