Skip to content

Conversation

@AdamTadeusz
Copy link
Contributor

@AdamTadeusz AdamTadeusz commented Apr 18, 2025

Description

When standing right up against a wall and peeking around a corner, moving the aim point to the left of the line running perpendicular to the wall that you're standing against will cause the player to begin un-leaning immediately due to the collision with the wall, throwing the aim off. This PR allows the aim to be moved further to the left before the character begins unleaning.

image

This pr also makes unleaning when hitting an obstacle instant, to prevent the camera from clipping through the wall. It's still possible to an extend, may have to increase the trace distance but then not factor that value into the return percentage in freeroomforlean

Toolchain

  • Windows MSVC VS2022
  • Linux GCC Distro Native [Specify distro + GCC version]
  • Linux GCC 10 Sniper 3.0

Linked Issues

  • fixes #
  • related #

@AdamTadeusz AdamTadeusz requested a review from a team April 21, 2025 19:33
@AdamTadeusz AdamTadeusz merged commit 1b05d97 into NeotokyoRebuild:master May 6, 2025
7 checks passed
@AdamTadeusz AdamTadeusz deleted the 203_moreLenientLeanAroundCornersMoreHarshRunningIntoWall branch May 6, 2025 16:16
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

Successfully merging this pull request may close these issues.

3 participants