Skip to content

InputHud uses in-game values for angles instead of inputs #371

Description

@HonbraDev

Description

The input HUD angle element (available under the tas preset) calculates its values from the player's in-game rotations instead of monitoring the raw inputs. As such, whenever the player gets rotated, SAR picks it up as human input, even if the player hasn't moved their mouse/joystick/gyro device.

Similarly, when the player's view angles are partially or completely locked (like when using the Reset Camera action), SAR erroneously shows no inputs on one or both axes.

Accidentally discovered in this thread in the P2SR Discord server.

Steps to reproduce

  1. sar_ihud 1
  2. sar_ihud_preset tas
    • play sp_a1_wakeup,
    • use the Reset Camera action via Steam Input, or
    • use the Spin 180° action via Steam Input

Workarounds

sar_ihud 0

Repro clip

sar_ihud_repro_2_v1.mp4

Slowed down 20x¹

sar_ihud_repro_3_v1.mp4

_____
¹ Your browser might have issues playing this one. It's the same video bitstream, just slowed down 20x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions