[2.0.48] Asteriod with 0 relative velocity not destroyed

Bugs that are actually features.
AntiElitz
Filter Inserter
Filter Inserter
Posts: 523
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

[2.0.48] Asteriod with 0 relative velocity not destroyed

Post 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.
Genhis
Factorio Staff
Factorio Staff
Posts: 844
Joined: Wed Dec 24, 2014 8:19 am
Contact:

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

Post 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.
AntiElitz
Filter Inserter
Filter Inserter
Posts: 523
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

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

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15644
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Well, it's not permanent is it? You can shoot it with any weapon on the platform.
If you want to get ahold of me I'm almost always on Discord.
AntiElitz
Filter Inserter
Filter Inserter
Posts: 523
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

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

Post by AntiElitz »

railguns are usually in the front and huge asteriod cannot be destroyed by anything else though
AntiElitz
Filter Inserter
Filter Inserter
Posts: 523
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

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

Post 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
Post Reply

Return to “Not a bug”