Skip to content

Animation specific limb constant angles#15374

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

Animation specific limb constant angles#15374
TheNinjaScout wants to merge 1 commit intoFakeFishGames:masterfrom
TheNinjaScout:animationdependentconstanttorque

Conversation

@TheNinjaScout
Copy link
Copy Markdown

@TheNinjaScout TheNinjaScout commented Dec 16, 2024

Adds a new character animation property "LimbConstantAngles" which is formatted like this: "limbID: constantangle;constanttorque, limbID2: constantangle2;constanttorque2, ..."

This allows specific limbs to assume certain angles with certain torque depending on the currently selected animation, allowing more control over how a character's limbs are posed, especially for non humanoid ones

Limb-defined constantangles and constanttorques will be used if there aren't any animation specific ones for that limb

Constanttorque is no longer applied to limbs if the character is stunned / unconscious (could add a way to circumvent this later, maybe with a limb specific boolean property and/or even an animation-wide one to allow things like custom death poses by swapping animation set after death, but not sure how worth it it is)

Example demonstration video
Example mod overriding husk chimera to add some custom constant torque during run animation

Adds a new character animation property "LimbConstantAngles" which is formatted like this:
"limbID: constantangle;constanttorque, limbID2: constantangle2;constanttorque2, ..."

This allows specific limbs to assume certain angles with certain torque depending on the currently selected animation, allowing more control over how a character's limbs are posed, especially for non humanoid ones

Limb-defined constantangles and constanttorques will be used if there aren't any animation specific ones for that limb

Constanttorque is no longer applied to limbs if the character is stunned / unconscious
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