⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    JumpDirection MotionGraphState

    Overview

    The jump direction state adds a jump direction to the Jump state. You should add an out-bound connection from this state that uses the CompletedCondition, connecting to an airborne state. This state should be replaced with the JumpDirectionV2 motion graph state instead, as it gives more predictable results with analogue controllers.

    Inspector

    JumpDirection State

    Properties

    Name Type Description
    Jump Speed Float Data The instant speed of the jump.
    Maximum Height Float Data The angle the jump direction will be tilted in the character input direction when input scale is 1.
    Ground Influence Float Data The amount of influence the ground has over the direction of the jump. 0 = up, 1 = ground normal.
    Velocity Mode Dropdown How should the velocity be applied. Available options are:
    • Additive will add the jump velocity to the original velocity.
    • Absolute will ignore the original velocity.
    • Minimum will boost the character velocity if it is less than the jump speed in the jump direction.
    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