⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SetRootMotionStrength MotionGraphBehaviour

    Overview

    The SetRootMotionStrength behaviour is used when the character has a first person body and will move the character based on the root motion of its animations based on the strength you set. To use this, the character must have a body with an animator. It must have animations that use root motion. lastly, it must have a FirstPersonBodyRootMotion component attached to the character body which catches root motion and sends it to the character's MotionController.

    Inspector

    SetRootMotionStrength Behaviour

    Properties

    Name Type Description
    When Dropdown When should the parameter be modified. Options are OnEnter, OnExit and Both.
    On Enter Value Float The root motion strength to set on entering this state / subgraph.
    Blend Time Float The blend time for the new root motion value on entry.
    On Exit Value Float The root motion strength to set on exiting this state / subgraph.
    Blend Time Float The blend time for the new root motion value on exit.

    See Also

    First Person Body

    MotionController

    FirstPersonBodyRootMotion

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX