⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    MeleeWieldableStanceManager MonoBehaviour

    Overview

    The MeleeWieldableStanceManager behaviour is used to specify poses or stances for a melee weapon. The entire weapon will be moved to match the stance, and can optionally set an animator bool parameter too.

    The weapon will exit the stance temporarily while attacking or blocking.

    Inspector

    MeleeWieldableStanceManager

    Properties

    Name Type Description
    Min Attack Time Float The minimum amount of time the stance will be temporarily exited for an attack.
    Min Block Time Float The minimum amount of time the stance will be temporarily exited when blocking (prevents tapping block).

    Use the Add Stance buttons to add a new stance to the manager.

    Stances

    Individual stances have the following properties:

    Name Type Description
    Name String The name of the stance.
    Animator Bool Key String An optional name of a bool parameter in the weapon's Animator.
    Position Vector The position to move the weapon to in this stance.
    Rotation Vector The rotation of the weapon in this stance.
    In Position Blend Dropdown The easing method for blending between the source position and stance position on entering the stance. Options are: **Lerp, EaseIn, EaseOut, EaseInOut, SwingAcross, SwingUp, Spring, Bounce and Overshoot.
    In Rotation Blend Dropdown The easing method for blending between the source rotation and stance rotation on entering the stance. Options are: **Lerp, Slerp, EaseIn, EaseOut, EaseInOut, Spring, Bounce, Overshoot.
    In Time Float The time taken to enter the stance.
    Out Position Blend Dropdown The easing method for blending between the stance position and idle position on exiting the stance. Options are: **Lerp, EaseIn, EaseOut, EaseInOut, SwingAcross, SwingUp, Spring, Bounce and Overshoot.
    Out Rotation Blend Dropdown The easing method for blending between the stance rotation and Idle rotation on exiting the stance. Options are: **Lerp, Slerp, EaseIn, EaseOut, EaseInOut, Spring, Bounce, Overshoot.
    Out Time Float The time taken to enter the stance.

    See Also

    Melee Weapons

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