rigs-of-rods icon indicating copy to clipboard operation
rigs-of-rods copied to clipboard

🎮 Enabled character/actor collision in multiplayer.

Open ohlidalp opened this issue 1 year ago • 1 comments

This is an experimental spinoff from https://github.com/RigsOfRods/rigs-of-rods/pull/3049. I felt inspired. characterCollNetworkedDaf

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.

ohlidalp avatar May 30 '23 09:05 ohlidalp

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 obrazek

ohlidalp avatar Jun 01 '23 10:06 ohlidalp