reckfellENGINE

RootMotionView

Editor-only helper for setting up root motion in AnimationMixer.

On this page
class RootMotionViewReckfellSharpInherits VisualInstance3D

Editor-only helper for setting up root motion in AnimationMixer.

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 AnimationMixer. Note: RootMotionView is only visible in the editor. It will be hidden automatically in the running project.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

RootMotionViewConstructor
# RootMotionView
C#
public RootMotionView();

Properties5

AnimationPathProperty
# AnimationPath
C#
public EntityPath AnimationPath { get; set; }

Path to an AnimationMixer node to use as a basis for root motion.

CellSizeProperty
# CellSize
C#
public float CellSize { get; set; }

The grid's cell size in 3D units.

ColorProperty
# Color
C#
public Color Color { get; set; }

The grid's color.

RadiusProperty
# Radius
C#
public float Radius { get; set; }

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

ZeroYProperty
# ZeroY
C#
public bool ZeroY { get; set; }

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

Methods10

GetAnimationPathEntityPath
# GetAnimationPath
C#
public EntityPath GetAnimationPath();
Returns EntityPath
GetCellSizefloat
# GetCellSize
C#
public float GetCellSize();
Returns float
GetColorColor
# GetColor
C#
public Color GetColor();
Returns Color
GetRadiusfloat
# GetRadius
C#
public float GetRadius();
Returns float
GetZeroYbool
# GetZeroY
C#
public bool GetZeroY();
Returns bool
SetAnimationPathvoid
# SetAnimationPath
C#
public void SetAnimationPath(EntityPath path);
Parameters
NameTypeDefault
pathEntityPath—
SetCellSizevoid
# SetCellSize
C#
public void SetCellSize(float size);
Parameters
NameTypeDefault
sizefloat—
SetColorvoid
# SetColor
C#
public void SetColor(Color color);
Parameters
NameTypeDefault
colorColor—
SetRadiusvoid
# SetRadius
C#
public void SetRadius(float size);
Parameters
NameTypeDefault
sizefloat—
SetZeroYvoid
# SetZeroY
C#
public void SetZeroY(bool enable);
Parameters
NameTypeDefault
enablebool—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.