ZDoom / Raze

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

[BUG] [SW] Shells shot from guns do not exit from correct position relative to view angle #859

Open ninjakitty844 opened 1 year ago

ninjakitty844 commented 1 year ago

Raze version

Raze 1.6.0

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.

I am unsure if this should actually be a feature request because how this works at the moment is technically accurate to DOS SW. No matter how far up or down you are pointing, bullet shells from your guns always spawn a very specific distance in front of you at head height. This looks normal in the classic renderer, but in true 3D it becomes very obvious these shells are not exiting from your gun. If you have view pitch unlocked you can even make bullet shells exit at a 90 degree difference from where they're supposed to exit. If demo compatibility is a concern, I think fixing it likely wouldn't actually affect demos (shells only collide with the map, not player or enemies).

Steps to reproduce the behaviour.

Explain how to reproduce

  1. dual uzis
  2. look up and down while shooting
  3. the illusion is broken

Your configuration

No response

Provide a Log

No response

ninjakitty844 commented 1 year ago

This might actually be more than a SW bug, tested in Duke and its the same there.

mjr4077au commented 1 year ago

This is known. The option is still experimental as we haven't adjusted this stuff yet, unfortunately. Will take a bit of reworking to make it look good at high pitches.

ninjakitty844 commented 1 year ago

To be clear, and to add more details (i am unsure if we are talking about same thing), this happens regardless of whether view pitch is unlocked or not (specifically bullet shells, not projectiles). In the attached screenshot you can see the exact starting position for the shotgun shell. It is high above where it should have exited the shotgun and I am not looking unreasonably far down or up. It is not caused by unlocked view pitch, but it is more noticeable the farther you look down or up. Most (probably all) ports have this bug currently. ShadowWarrior_0021

If this is indeed on the roadmap due to unlocked view pitch support, I am happy :]