Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recoil should rotate the camera, not adjust the forward vector directly #1097

Open
iamgreaser opened this issue Mar 16, 2024 · 0 comments
Open

Comments

@iamgreaser
Copy link
Contributor

As evidenced in the function at 0x00422850 in the original AoS, those tiny values are actually angles fed into an FSINCOS opcode.

In my own experiments, I've yet to make sense of the sqrt(1-y^4) thing though - when I try to make use of it, the recoil comes out wrong. Maybe I need to normalise the forward vector first...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant