⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AnimCurveWallDash MotionGraphState

    Overview

    The AnimCurveWallDash state is a simple movement state that layers a directional dash with speed based on an animation curve, on top of a basic movement system. This gives a lot of control over the feel of the dash, and also allows the player to have some control over the exit speed and dash distance.

    Inspector

    AnimCurveWallDash

    Properties

    Name Type Description
    Dash Speed FloatData The target speed for the dash to reach. This will be layered on top of the control speed.
    Wall Normal Vector Parameter The wall normal parameter, as used by the wall run states.
    Dash In Time Float The amount of time it takes to reach the dash speed. At this point, the animation curve kicks in to ease out of the dash. A Dash In Time of 0 is instant.
    Dash Out Time Float The amount of time it takes for the animation curve kicks to ease out of the dash.
    Dash Out Curve [Animation Curve][unity-animationcurve] The ease out curve for the dash velocity. This should start at 1. Dipping below zero will mean the dash is moving backwards.
    Yaw With Curve Boolean Should the yaw direction of the character be turned if the character must change directions to curve with the wall. It's easy to become disoriented with this disabled.

    See Also

    The Motion Graph

    The Motion Graph Editor

    Motion Graph States

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