Page 1 of 1

[2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Mon May 12, 2025 7:37 pm
by AntiElitz
Asteriods may not be destroyed even when close to 0 relative velocity

https://www.twitch.tv/antielitz/clip/Ne ... 11K1te4isx
https://www.twitch.tv/antielitz/clip/St ... Ha3pJ-xZOM
https://www.twitch.tv/antielitz/clip/Sl ... yuONfLuA55
https://www.twitch.tv/antielitz/clip/Ig ... wsgy8mKgj2

The problem seems to be that the ship speed can change after impact:
Tick 0: asteriods has speed of rel 10 km/s
Tick 1: asteriod collides with ship and gets down to rel 1 km/s
Tick 2: the ship speed changes (either breakign or natural production occileration). Asteriod rel speed is now -1 km/s due to ship changes

Current bahavior: Asteriod moves away from the ship or gets stuck.

Expected behavior: Asteriods that just collided and have 0 relative velocity get destoyed.

Possible fix: When an asteriod collides with the platform it gets a permanent flag. Asteriod that are flagged from previos collision and have negative speed, get destroyed.
Result: Asterids no longer get stuck in the platfrom or are pushed away after a colision with a platform.

Re: [2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Tue May 13, 2025 8:38 am
by Genhis
Thanks for the report, this is not a bug in my opinion. There are some plans to change asteroid damage system for 2.1, so that you wouldn't encounter this issue at all.

Re: [2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Tue May 13, 2025 9:57 am
by AntiElitz
It is hard to understand how a big asteriod that is stuck in the middle of your platform permanently is not a problem that requieres fixing for me.

Re: [2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Wed May 14, 2025 7:29 pm
by Rseding91
Well, it's not permanent is it? You can shoot it with any weapon on the platform.

Re: [2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Thu May 15, 2025 11:37 am
by AntiElitz
railguns are usually in the front and huge asteriod cannot be destroyed by anything else though

Re: [2.0.48] Asteriod with 0 relative velocity not destroyed

Posted: Sat May 17, 2025 12:08 am
by AntiElitz
Just ran into this right now and I am standing still with no speed, with the asteriod idling there forever. Can't shoot it, can't fly forward. It ran into the platform. It should not exist anymore. Image