⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    AlignWithVelocity MotionGraphBehaviour

    Overview

    The AlignWithVelocity behaviour is used with the steering system built into the aim controllers (eg the MouseAndGamepadAimController component) to lock the character's body direction based on its movement. This is useful for things like wall running or sliding when the character has a visible body, as you want the body to be aligned to the wall or travel direction.

    Inspector

    AlignWithVelocity Behaviour

    Properties

    Name Type Description
    Min Speed Float The minimum speed the character should be travelling before being aligned with the velocity.
    Angle Range Float The angle range to constrain to.

    See Also

    MouseAndGamepadAimController

    Motion Graph Parameters And Data

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