Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Shooting over objects destroys objects randomly. #28139
While shooting down a fungal spire, I noticed it dropped some seeds and gelatin. After gunning down the rest of the wall, I went in to gather my loot, but the loot vanished somehow. After creating a test world, I found that on occasion, if you shoot arrows, bullets, whatever overtop of objects on the ground, sometimes the objects on the ground will get hit as well just by virtue of passing over the square with the objects upon it. This doesn't seem to stop or reduce damage to said projectile in any fashion.
Steps to reproduce the behavior:
Versions and configuration(please complete the following information):
Also, within that pile, there's a few suits of wished in heavy power armor/ power armor that did not get destroyed, so one assumes there's some level of sanity check on objects destroyed via this fashion.
Can confirm. Also, I'm pretty sure that bullets never hit the ground, ever. Even if you aim at the tile next to you, they just go off-screen and stop existing outside of reality bubble.
Arrows and throwable objects just stop in mid-flight, but they never damage whatever is underneath. The code only checks if they hit the intended target, and if not, it teleports them to the ground somewhere nearby.
If anyone wants to try and get this fixed, please make sure that bullets can still hit furniture (as opposed to items), and damage it in the process. This actually seems to happen now, and is likely intended.
This is actually working as intended since there is no concept of height when it comes to bullets. Someone else here had a similar problem with turrets damaging crops when it was placed int he middle and it was shooting at things.
EDIT: Actually it was not here it was on the forum.