⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Dodge MotionGraphState

    Overview

    The dodge state adds a simple directional impulse to the character for a single tick and then sets its completed flag. You should add an out-bound connection from this state that uses the CompletedCondition, connecting to an airborne state.

    Inspector

    Dodge State

    Properties

    Name Type Description
    Vertical Speed Float Data The vertical dodge speed. This can either be set as a value, or by referencing a float data entry.
    Horizontal Speed Float Data The horizontal dodge speed. This can either be set as a value, or by referencing a float data entry.
    Dodge Direction Parameter IntParameter The dodge direction is a simple compass heading relative to the character's forward direction. It is set in one of the graph properties and conforms to the following:
    1. North
    2. North East
    3. East
    4. South East
    5. South
    6. South West
    7. West
    8. North West
    Minimum Distance Float The minimum distance the state should attempt to move before completing. This prevents a very small fixed time step causing the movement to be too small to overcome ground snapping / detection.

    See Also

    The Motion Graph

    Motion Graph States

    Motion Graph Parameters And Data

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