ZDoom / Raze

Build engine port backed by GZDoom tech. Currently supports Duke Nukem 3D, Blood, Shadow Warrior, Redneck Rampage and Powerslave/Exhumed.
664 stars 59 forks source link

[BUG] [SW] Uzi bullets have extreme vertical spread when shooting down at floors #1076

Open ninjakitty844 opened 3 months ago

ninjakitty844 commented 3 months ago

Raze version

Raze 1.9.1

Which game are you running with Raze?

Shadow Warrior

What Operating System are you using?

Windows 11

Please describe your specific OS version

No response

Relevant hardware info

No response

Have you checked that no other similar issue already exists?

A clear and concise description of what the bug is.

Shot downwards from some crates, noticed the bullet spread was over tenfold in the vertical direction.

https://github.com/ZDoom/Raze/assets/89247988/214bd032-8074-4442-bfbe-549e5b00bf46

Steps to reproduce the behaviour.

Explain how to reproduce

  1. shoot down below u

Your configuration

No response

Provide a Log

No response

madame-rachelle commented 2 months ago

This I think cannot be addressed due to the limitations of the engine right now, but maybe in the future after a few more reworks. This would require using the Quaternion code to fix properly, I think.

mjr4077au commented 2 months ago

@madame-rachelle this could be on us (me) when trying to shoe-horn some pitch correction math into the existing weaponry code. Let's leave it open for now and I'll see about reviewing it. All of SW's weapon code is prime for a re-write though, its attrocious.

madame-rachelle commented 2 months ago

That is fine. :)