ReactiveDrop / reactivedrop_public_src

Alien Swarm: Reactive Drop game source code and issue tracker.
https://reactivedrop.com
106 stars 35 forks source link

Buzzers can get stuck under displacements #448

Open BenLubar opened 1 year ago

BenLubar commented 1 year ago

Imported from https://steamcommunity.com/app/563560/discussions/2/6670425060425619954/:

-Buzzer under the ground: (old bug that was patched but is sadly back). It happens that one or more buzzers is stuck under the ground and it is almost impossible to hit them except with a well placed melee hit.

I've been trying to figure out what causes this, so far to no avail.

WhenTanksFly commented 1 year ago

In case a demo is of any use, got this happen when trying to reproduce teleporting through the between-hack fence at Forgotten Factory. Crucial Point is also a common offender at underground buzzers. d_underbuzzer_forgfactory_t6000.zip (v7.1.3.8)

geotavros commented 1 year ago

I've spent some time debugging this issue half a year ago. It looks issue is a regression caused by allowing buzzers to sleep. The issue is nicely seen on Rydberg by setting camera height to around 2000. When closing in to position where jump jets are, two buzzers spawn north to where player is. They gain speed and apparently enter sleep state and this looks like they turn into rocks flying at very high speed. The fix could be to reset their speed to 0 when entering sleep state.