GameplayTestAimResult: {
    aimed: boolean;
    measuredFrom: "camera" | "object";
    pitchDiff: float;
    sawPitchResponse: boolean;
    sawYawResponse: boolean;
    yawDiff: float;
}

The outcome of lookTowardWithMouseDelta: whether the aim succeeded, the remaining aim error, and whether the game responded to the mouse at all. sawYawResponse: false usually means the game ignores mouse deltas (e.g. the pointer lock was never engaged: click once first). sawPitchResponse: false (with a yaw response) means the vertical aim could not be measured: the aim automatically fell back to yaw-only.

Type declaration

  • aimed: boolean
  • measuredFrom: "camera" | "object"

    What the aim was measured on: the camera of the object's layer (first-person views) or the object's own rotations.

  • pitchDiff: float
  • sawPitchResponse: boolean
  • sawYawResponse: boolean
  • yawDiff: float