Unvanquished icon indicating copy to clipboard operation
Unvanquished copied to clipboard

missiles BBox are too big

Open ghost opened this issue 2 years ago • 1 comments

Here, we can see a blaster's missile bbox:

2023-04-03_001

I think it's way too big for the size of the weapon or the visual blast effect. This also applies to pulse rifle, but not to lucifer blasts, flamer flames (although the flame is under the bbox, which is quite weird too) nor to alien blobs.

I think this is one of the reasons it's this easy to damage friendly things with those weapons.

ghost avatar Apr 03 '23 12:04 ghost

An obvious solution for projectiles is to add bounding spheres. They'd obviously much better encompass projectiles (in fact, they'd provide the exact bounding volume, since the projectiles are, themselves, spherical), and are super easy to cull against or check for collision. I'd like to see the bounding volumes be more generalised so we could gradually add OBBs and hierarchical volumes as well.

VReaperV avatar Dec 06 '24 10:12 VReaperV