Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation specific limb constant angles #15374

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TheNinjaScout
Copy link

@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