⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SetTargetHeight MotionGraphBehaviour

    Overview

    The SetTargetHeight behaviour signals the desired character height multiplier for the controller to lerp to.

    Inspector

    SetTargetHeight

    Properties

    Name Type Description
    When Dropdown When should the target height be set. Options are EnterAndExit, EnterOnly, ExitOnly.
    On Enter Value Float The character height multiplier (standing height) to set on entering this state (if when is set to EnterandExit or EnterOnly).
    On Exit Value Float The character height multiplier (standing height) to set on exiting this state (if when is set to EnterandExit or ExitOnly).
    Resize Duration Float The time taken to change heights.
    From Point Dropdown Where is the character resized from. Available options are:
    • Automatic will scale from the bottom if grounded and the top if airborne and crouch jumping is enabled.
    • Bottom always resizes from the bottom of the character.
    • Top always resizes from the top of the character.

    See Also

    MotionController

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