/MuscleInertialization

Inertial interpolation by muscle values. (Unity Humanoid)

Primary LanguageC#MIT LicenseMIT

Muscle Inertialization

Unity

Inertial interpolation by human muscle values.

Interpolate with the properties of the HumanPose class.
All muslces are interpolated by float, bodyPosition and bodyRotation are interpolated by Vector3 and Quaternion.

Note
This project is for learning and experimental purposes. Please note that it is not designed to be implemented as-is in games, etc.

MuscleInertialization_sample_01.gif

Set animation clip to AnimClipA and AnimClipB. Pressing A or B key toggles animation.

MuscleInertializationTest_Inspector.jpg

Script Execution Order

MuscleInertialization calculates animation differences with LateUpdate. If bone dynamics or similar is used, script execution order must be changed so that it is evaluated after MuscleInertialization.

ScriptExecutionOrder.jpg

References