⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AnimatorGroundSlope MotionGraphBehaviour

    Overview

    The AnimatorGroundSlope behaviour outputs the current ground slope under the character, along with the down-slope direction relative to the player to animator controller parameters for use in blend trees.

    Inspector

    AnimatorGroundSlope

    Properties

    Name Type Description
    Slope Param Name String The animator parameter name the ground slope angle should be written to. 0 is flat, 90 is vertical.
    Direction Param Name String The animator parameter name the down-slope direction should be written to. 0 means that the ground slopes straight down in the direction the character is facing. 90 means the ground slopes down to the character's right, and -90 means to their left.

    See Also

    NeoCharacterController

    Motion Graph Parameters And Data

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