ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

[BUG] Multi Gun Setups shooting themselves when moving. #333

Closed bluemetaknight closed 1 year ago

bluemetaknight commented 1 year ago

Gun arrays seem to be hitting each other a lot more than usual. A 1x4 Light Autocannon array will consistently hit itself when shooting perpendicular to the vehicles direction of travel when traveling at any reasonable speed. This makes shooting while driving nigh impossible.

Branch: Git-master-6c55db9

Wacky Guns

bluemetaknight commented 1 year ago

To clarify, the guns' bounding boxes are not intersecting each other at any point, so they shouldn't be hitting each other. It seems like the bullet traces are being created slightly offset in the direction of travel, resulting in the traces self-intersecting with the next gun over.

Goodva commented 1 year ago

i also had this happen to me, however, the guns were hitting eachother even though the contraption will be not moving at all.

TwistedTail commented 1 year ago

It seems to be related to an offset on the ENT:BarrelCheck method that was, funnily enough, added just to prevent this kind of stuff 2 years ago. Whatever changed on these last two years, it seems like it's not needed anymore.

TwistedTail commented 1 year ago

Fixed on 19eb906.

Goodva commented 1 year ago

Still happens to me, the server is running Git-master-988b1df. this is the setup. i really hope its not because the gun breech model collide with the other gun. изображение изображение edit: tank was frozen, and is using holoturret(duh)

TwistedTail commented 1 year ago

That could be it, the barrel check won't filter out ACF entities (except for ACF Armor) in order to discourage entity clipping.