ZeroK-RTS / Zero-K

Open source RTS game running on the Spring/Recoil engine
https://zero-k.info
GNU General Public License v2.0
690 stars 207 forks source link

Do something to stop nanoframes sliding off the map #5239

Open GoogleFrog opened 7 months ago

GoogleFrog commented 7 months ago

It seems like nanoframes can have velocity. Perhaps it is caused by units being repaired as they are moving. In any case, this causes them to slide away. Ideally the engine would fix it but perhaps there is something simple to do in lua.

sprunk commented 7 months ago

I've heard a claim that you can reclaim a thing while it's overlapping with another and it will keep the anti-overlap push.

GoogleFrog commented 7 months ago

There doesn't seem to be anything lua can do about the velocity.

sprunk commented 7 months ago

Neiter SetUnitVelocity nor MoveCtrl?

sprunk commented 7 months ago

beyond-all-reason/spring#1413