⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PushOff MotionGraphState

    Overview

    The PushOff state is a one frame state which adds velocity based on a direction vector and can add an optional extra vertical boost.

    Inspector

    PushOff State

    Properties

    Name Type Description
    Push Direction VectorParameter The world direction to push in (you can fill this parameter using enhanced cast conditions).
    Push Up Angle FloatData An additional upward rotation applied to the push direction. Resulting direction won't rotate past up/down.
    Push Speed FloatData The speed to along the rotated push direction.
    Additive Boolean Should the resulting velocity be added to the original character velocity or replace it.
    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

    The Motion Graph Editor

    Motion Graph States

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