Anim Retarget Magic

Fengzz - Code Plugins - Jul 11, 2023

Some useful IKRig solvers for retargeting two-hand weapon animation, or just rotate animamtion

  • Supported Platforms
  • Supported Engine Versions
    5.2 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

This plugin includes some IKRig Solvers and Retarget Ops, they can be used in IK Rig assets and IK Retargeter assets.

Powerful assistance for Ik Retargeter:

* Convert two-handed weapon animations. Such as swords, guns, ...

* Convert non-standard animation to Y-Axis forward animation. Such as X-Axis forward animation to Y-Axis forward animation.

* Add a preview mesh in the Ik Retargeter window.

* Modify root motion info for root motion animation.

For more details see the demo.



Retarget Ops: Magic Root Motion Modify. Used to modify root motion data, such as retarget the X-Axis forward animation to the Y-Axis forward animation.

v1.3.0 (Cool Updated)

Preview settings for retargeter viewport and ik rig viewport. We can preview the retargeting result by adding a preview weapon now.


Rotate translation using Magic Modify Solver. It is useful for retargeting a non-standard root motion animation to a y-axis forward animation( using in Unreal).


New setting 'Left Hand Goal Retarget Blend' for Magic THIK Goal Solver. This is the blend settings for the left-hand IK goal. It can give you a way to control the strength of Magic THIK Goal Solver at runtime, using animation curves. See document or demo.


Convert animation with curves is a hack function. Sometimes, it will not work. You should close the preview window, reopen it, and then click the export button again.

How to use UE5 IK Rig and IK Retargeter, see:

Technical Details


Calculate the perfect two-hand goals transform.

Copy transform of one bone to another bone.

Offset bone transform.

Format root motion info.

Set ik bone transforms to the correct value.

Fix up the location error of ik bones when retargeting.

Code Modules:

AnimRetargetMagic [Runtime]

Number of Blueprints: 0

Number of C++ Classes: 4

Network Replicated: No

Supported Development Platforms: Win64

Document Link:!Alt4FyNdQPx_gdE61RDt0YrSO8kSSQ

Project Example v 5.4!Alt4FyNdQPx_gdFPbwEoL0tgAkh1eQ

Project Example v 5.3-1:!Alt4FyNdQPx_gawq-2tRl1kc4u9c2g


About this example project:

All the source animations are downloaded from the Mixamo website.

Sword mesh is from the Free Fantasy Weapon Sample Pack.