Skip to content

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

@iamgreaser

Description

@iamgreaser

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions