Skip to content

[WONTFIX?] Square a standing player's feet up after 3 s - #2243

Closed
sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:anim-face-front-timer
Closed

sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:anim-face-front-timer

Conversation

@sunzenshen

@sunzenshen sunzenshen commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

A standing player can keep a large twist between the view and feet until they move or lean. This change uses the existing mp_facefronttime timer to turn the feet toward the view after three seconds without a feet turn. Movement, leaning, and the existing 90-degree turn behavior are unchanged.

Testing: Compared per-frame animation logs with classic and master. Feet squared up about three seconds after a turn; in a bot check, frames with a standing twist over 20 degrees held longer than 3.5 seconds fell from 22% on master to 9% on this branch. The Debug check reported only known asserts.

Linked Issues

  • None.

A standing player who turned to the side stayed twisted between eyes
and feet, up to 90 degrees, until moving or leaning. Classic NEOTOKYO
and the 2006 SDK base turn the feet to the eyes once they have not
turned for mp_facefronttime (3 s). Use the same rule with the base's
existing cvar and neo's existing feet turn time.
@sunzenshen sunzenshen added the Animations Animation stuff. Including the syncronizing of animations between client and server based on state. label Oct 15, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author
case3-face-front

@sunzenshen

Copy link
Copy Markdown
Contributor Author

#2244 might actually accomplish the same and better than this, so waiting of the result of that review before deciding what to do with this PR.

(This PR edits hl2mp_playeranimstate.*, which #2244 no longer uses and could even remove from the build.)

@sunzenshen sunzenshen changed the title Square a standing player's feet up after 3 s [WONTFIX?] Square a standing player's feet up after 3 s Oct 16, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author

(Have a backup in case we need this again, but is likely obviated by #2244.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Animations Animation stuff. Including the syncronizing of animations between client and server based on state.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant