MacdonaldRobinson / Godot4-Root-Motion

Shows how to use Root Motion in the Gotdot 4 game engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot4-Root-Motion

Shows how to use Root Motion in the Godot 4 game engine:

  • Shows how to use animation tree with AnimationNodeBlendTree
  • Shows how to transition between animation states
  • Shows how to manage different states
  • Shows how to manage directional input for multiple states
  • shows how to set the animation and to use the animations root motion to move the character

Instructions

  • AWSD ( Arrows also work ) keys to move
  • Use CTRL to change motion states i.e crouch or stand
  • SPACE BAR to jump in the direction of the motion ( I could not find a left and right jump animation in miximo so I just used forward )

Demo: https://macdonaldrobinson.github.io/Godot4-Root-Motion/exports/html/Root-Motion-Test.html

About

Shows how to use Root Motion in the Gotdot 4 game engine


Languages

Language:JavaScript 98.9%Language:HTML 0.7%Language:GDScript 0.4%