RootMotionView

Inherits:VisualInstance3D<Node3D<Node<Object

Editor-only helper for setting up root motion inAnimationMixer.

Description

Root motion refers to an animation technique where a mesh's skeleton is used to give impulse to a character. When working with 3D animations, a popular technique is for animators to use the root skeleton bone to give motion to the rest of the skeleton. This allows animating characters in a way where steps actually match the floor below. It also allows precise interaction with objects during cinematics. See alsoAnimationMixer.

Note:RootMotionView is only visible in the editor. It will be hidden automatically in the running project.

Tutorials

Properties

NodePath

animation_path

NodePath("")

float

cell_size

1.0

Color

color

Color(0.5,0.5,1,1)

float

radius

10.0

bool

zero_y

true


Property Descriptions

NodePathanimation_path =NodePath("")🔗

Path to anAnimationMixer node to use as a basis for root motion.


floatcell_size =1.0🔗

The grid's cell size in 3D units.


Colorcolor =Color(0.5,0.5,1,1)🔗

The grid's color.


floatradius =10.0🔗

The grid's radius in 3D units. The grid's opacity will fade gradually as the distance from the origin increases until thisradius is reached.


boolzero_y =true🔗

Iftrue, the grid's points will all be on the same Y coordinate (local Y = 0). Iffalse, the points' original Y coordinate is preserved.


User-contributed notes

Please read theUser-contributed notes policy before submitting a comment.