⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PassiveSlide MotionGraphBehaviour

    Overview

    The PassiveSlide behaviour lowers ground friction when the character is on a steep enough slope, and is not attempting to move. If the motion controller receives move input then the NeoCharacterController slope friction will be set to its value on entering the state or sub-graph. If not, then the slope friction will be set to Slide Friction setting as long as this is lower than the friction already set and the angle is steep enough.

    By default, the character must be stood on a slope steeper than 30 degrees in order to slide. If the Slope Data Key corresponds to a valid Slope MotionControllerDataEntry then the slide will be triggered when the angle is greater than its Slope Slide Angle property.

    Inspector

    BlockSwitch

    Properties

    Name Type Description
    Slope Angle Float Data A slope angle that chooses when to start sliding. This can either be set as a value, or by referencing a float data entry.
    Slide Friction Float The slope friction to apply when sliding.

    See Also

    NeoCharacterController

    Motion Graph Parameters And Data

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