RootMotionSettings

Type Alias RootMotionSettings 

Source
pub type RootMotionSettings = RootMotionSettings<Handle<UiNode>>;
Expand description

UI-specific root motion settings.

Aliased Type§

pub struct RootMotionSettings {
    pub node: Handle<UiNode>,
    pub ignore_x_movement: bool,
    pub ignore_y_movement: bool,
    pub ignore_z_movement: bool,
    pub ignore_rotations: bool,
}

Fields§

§node: Handle<UiNode>

A handle to a node which movement will be extracted and put in root motion field of an animation to which these settings were set to.

§ignore_x_movement: bool

Keeps X part of the translational part of the motion.

§ignore_y_movement: bool

Keeps Y part of the translational part of the motion.

§ignore_z_movement: bool

Keeps Z part of the translational part of the motion.

§ignore_rotations: bool

Keeps rotational part of the motion.