⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ModifyVectorParameter MotionGraphBehaviour

    Overview

    The ModifyVectorParameter behaviour either sets or modifies the specified vector parameter on entering the state, on exit or both.

    Inspector

    ModifyVectorParameter

    Properties

    Name Type Description
    Parameter VectorParameter The parameter to modify.
    When Dropdown When should the parameter be modified. Options are EnterAndExit, EnterOnly, ExitOnly.
    What Dropdown How should the parameter be modified. The available options are:
    • Set will set the vector to the specified value.
    • Reset resets the vector to its starting value.
    • Add adds the specified vector to the parameter.
    • Subtract subtracts the specified vector from the parameter.
    • Multiply multiplies the parameter by the specified multiplier.
    • Normalize normalizes the parameter vector to magnitude.
    1
    • Flatten flattens the parameter vector onto the horizontal plane of the character
    • ClampMagnitude clamps the magnitude to a specified maximum length | | Value | Vector3 | The value to set to, add or subtract based on the What property. | | Multiplier | Float | A multiplier to apply to the vector if the What property is set to Multiply. | | Clamp | Float | The magnitude to clamp the vector to if the What property is set to ClampMagnitude. |

    See Also

    Motion Graph Parameters And Data

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