Unreal Engine 5 plugin with some animation helpers.
Currenty, it contains three useful animation helpers.
Copy FreeAnimHelpers folder to [your project]/Plugins or Engine/Plugins and enable it in Project Settings -> Plugins window.
Modifier to snap character feet to ground. I use it for turn-in-place animation like this.
-
Open Skeletal Mesh used in animation you need to modify.
-
For both legs, add tip sockets:
- attached to foot bone;
- located at ball and at the ground, orientation doesn't matter.
-
Open animation sequence asset in Animation Editor, then Animation Data Modifiers window (via Windows menu) and add SnapFootToGround modifier.
-
Set Snap Foot Orientation checkbox, if you want to make feet horizontal.
-
Fill names of feet bones and tip sockets, then right click and select Apply Modifier.
-
Save animation sequence.
For my personal specific puropses. You don't need it.
For all bones with "Translation Retargeting Option" = "Skeleton" in the skeleton hierarchy, this modifier changes local translation in animation sequence to skeleton-default. In other words, after thes modifier you can reset "Translation Retargeting Option" for all bones back to "Animation". Useful if you want to export to FBX animation sequence retargeted from another skeleton.
Usage: add modifier to animation sequence, select desired skeletal mesh (to get local translations of bones) and apply it.
Copy component-space transforms of skeleton bones (usually wrists and feet) to MetaHuamn/Mannequin IK bones (ik_foot_r etc).
Small function to reset scale of root bone in skeletal mesh and preserve size of the model. See this video.
- add/remove root motion;
- insert T-pose/reference pose in the first frame of animation sequence;
- animate twist bones;