RootMotionView
Inherits: VisualInstance < CullInstance < Spatial < Node < Object AnimationTree.
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 also AnimationTree.
Note: RootMotionView is only visible in the editor. It will be hidden automatically in the running project, and will also be converted to a plain Node in the running project. This means a script attached to a RootMotionView node must have extends Node instead of extends RootMotionView. Additionally, it must not be a tool script.
Tutorials
- Using AnimationTree - Root motion
Properties
Property Descriptions
- NodePath animation_path AnimationTree node to use as a basis for root motion.
- float cell_size The grid’s cell size in 3D units.
- Color color The grid’s color.
- float radius radius is reached.
- bool zero_y
true, the grid’s points will all be on the same Y coordinate (local Y = 0). Iffalse, the points’ original Y coordinate is preserved.
