CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
9.96k stars 4.08k forks source link

Towing a bogged down vehicle results in high speed rubberbanding #74907

Closed sylae closed 2 days ago

sylae commented 5 days ago

Describe the bug

While towing a vehicle, I went offroad and regrettably got said vehicle bogged down in the dirt. Now after having unloaded some cargo, every time I try to pull this car out of the dirt it snaps towards me at a bazillion miles an hour and obliterates me, before flying off into the sunset.

Attach save file

Mayersville-trimmed.tar.gz

Steps to reproduce

  1. From the save state, hop into and turn on the police SUV
  2. Drive westward (or any other direction) at a slow speed
  3. Observe relativistic car pinball

Expected behavior

While I would expect some rubberbanding from jerking a bogged down vehicle free, this definitely seems more like a physics bug than intended behaviour

Screenshots

https://www.youtube.com/watch?v=m3rhtXb_fW0

Versions and configuration

Additional context

No response

PatrikLundell commented 4 days ago

/Confirmed

Definitely looks weird.

I tow vehicles starting at the minimum speed and only increase the speed by one step when the towing has stabilized itself, and then increase the speed once more (to 19 km/h, which probably is about 12 archaic miles per second), and no faster, and do the same in reverse when stopping. I'd also recommend against towing a vehicle backwards if it can be avoided (such as clearing a blocked street). Note that this in no way excuses the weird behavior show in the clip.

I tried the save and pulled the vehicle at the front instead (minimum speed), and it worked correctly. I then reloaded and pulled at the back (as set up in the save) at minimum speed and got the collision (quit after that, so I don't know if it also results in the bounce, but it probably does).

This has worked in the past, so something has changed in the last year or so.