Skip to content

xDellTog/root-motion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Root Motion Plugin for Godot 4

Godot Version Project License

About

Add root bone and retarget Mixamo animations in the play mode.

How To Use

  1. Add RootMotion3D node as the parent of a 3D model (the .glb/.gltf file) with animations.

    1st Step

  2. Activate the RootMotion3D properties and add an AnimationTree node in the Animation Tree property.

    2nd Step

  3. In the AnimationTree you configure normally with the 3D model AnimationPlayer node and add a tree root.

    3rd Step

  4. An example of an AnimationTree root node.

    4th Step 5th Step

  5. Done! Just add the player (scene) to the map scene and play. The root node will be created automatically.

    6th Step

!!! An example can be found in the addons/root_motion/examples directory.

Installing

  1. Download this repository.
  2. Extract the zip file and move the addons/root_motion directory into the project root location.
  3. Enable the plugin inside the Project/Project Settings/Plugins.

Future

  • Add support to add root motion in the editor to use with the RootMotionView node and preview the animations (and don't lose the original resources).
    • I already managed it, but for some reason Godot changes the resources of the original node, even duplicating.
  • Add support for non-Mixamo animations (I haven't tested it yet).
  • Add 2D support.
  • Add a custom node icon.
  • Make a documentation website.
  • Add a video tutorial.

Credits

About

Add root bone and retarget Mixamo animations in Godot Engine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors