Repository navigation
[WONTFIX?] Play the sprint legs only at sprint speed - #2242
Closed
sunzenshen wants to merge 1 commit into
Closed
sunzenshen wants to merge 1 commit into
sunzenshen wants to merge 1 commit into
Conversation
A player holding the sprint key played the sprint legs (Run_lower) at any speed: from 69 u/s at a standing sprint start, and at a few u/s when stopping with the key held, so the feet slid. Classic NEOTOKYO plays them only above 175 u/s. neo's slowest sprints (185 u/s) dip below 175 at every turn, which would swap the legs back and forth, so the switch is at 100 u/s, the 2006 SDK's top walking speed.
Contributor
Author
Contributor
Author
Contributor
Author
|
(Have a backup in case we need this again, but is likely obviated by #2244.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Description
The sprint key currently selects sprint legs even when a player has barely started moving or has stopped. This change requires horizontal speed above 100 units per second before using sprint legs. The threshold avoids showing sprint legs at a standstill while preventing frequent leg changes during slower sprint turns.
Testing: Compared scripted animation logs with classic and master. Sprint-leg frames below 100 units per second fell from 32 on master to zero on this branch; non-sprinting movement and crouching are unchanged.
Linked Issues