Skip to content

Hand Move Offset enhancements#14603

Open
TheNinjaScout wants to merge 1 commit intoFakeFishGames:masterfrom
TheNinjaScout:walkbackwardsarm
Open

Hand Move Offset enhancements#14603
TheNinjaScout wants to merge 1 commit intoFakeFishGames:masterfrom
TheNinjaScout:walkbackwardsarm

Conversation

@TheNinjaScout
Copy link
Copy Markdown

Walk/Run/Crouch animations have a new boolean parameter: "ApplyHandMoveOffsetWhenStationary", set to false by default

When set to true, the hands of the character will move into the position defined by "HandMoveOffset" even when it is standing still.

Additionally, the horizontal value of the Hand Move Offset parameter no longer changes sign when the character moves backwards.

To elaborate on that change mentioned at the bottom of the commit message, this is currently happens on the public Barotrauma branch when you decide you want to make a humanoid character walk with their arms forwards

Barotrauma.2024-09-10.02-16-41.mp4

While here's what happens with the modifications made in this PR (namely, checking to see if the character is flipped to decide the horizontal sign of the hand offset instead of the sign of the horizontal movement value)

Barotrauma.2024-09-10.02-22-16.mp4

And finally, an example of the new "ApplyHandMoveOffsetWhenStationary" parameter at work:

Barotrauma.2024-09-10.02-26-33.mp4

Walk/Run/Crouch animations have a new boolean parameter: "ApplyHandMoveOffsetWhenStationary", set to false by default

When set to true, the hands of the character will move into the position defined by "HandMoveOffset" even when it is standing still.

Additionally, the horizontal value of the Hand Move Offset parameter no longer changes sign when the character moves backwards.
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.

1 participant