[0.10.27] Bow sometimes hit an "Invisible Wall" in Dungeon [RESOLVED 0.14]

User avatar
pango
Posts: 3347
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: [0.10.27] Bow sometimes hit an "Invisible Wall" in Dungeon

Post by pango »

Regnier wrote: Thu Dec 09, 2021 6:51 pm https://github.com/Interkarma/daggerfal ... 58b0812ad0
is the fix in? lol
That was a regression on top of the problem discussed in this thread, which predates it by about a year
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 7236
Joined: Sun Mar 22, 2015 1:51 am

Re: [0.10.27] Bow sometimes hit an "Invisible Wall" in Dungeon [RESOLVED 0.14]

Post by Interkarma »

I can see one issue that would contribute greatly to this problem. Arrow collider is being created in a way that leads to it being not aligned (even fully perpendicular) with actual arrow object. This results in bad collisions in many cases.

arrow-collider-misaligned.jpg
arrow-collider-misaligned.jpg (121.11 KiB) Viewed 749 times

I've fixed this now so that arrow collider is properly aligned with arrow. I'm now able to take more accurate shots and easily snipe the lamia in save.

arrow-collider-aligned.jpg
arrow-collider-aligned.jpg (71.07 KiB) Viewed 749 times

I'm fairly confident this is resolved now, but I'll leave open for a while to get additional feedback before closing.

User avatar
Magicono43
Posts: 1139
Joined: Tue Nov 06, 2018 7:06 am

Re: [0.10.27] Bow sometimes hit an "Invisible Wall" in Dungeon [RESOLVED 0.14]

Post by Magicono43 »

Awesome, I'm sure this will help alot in making archery more useful. Though I do have a feeling that some objects will probably still cause issues if they have strange collision geometry, but hopefully this helps alot.

Locked