⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BreathingEffect MonoBehaviour

    Overview

    The BreathingEffect behaviour applies a procedural breathing animation based on a character's breath handler.

    Example breath handlers include the SimpleBreathHandler which has a constant breathing rate, or the StaminaSystem which modifies the breathing rate and strength based on fatigue.

    Inspector

    BreathingEffect

    Properties

    Name Type Description
    Pitch Max Float The maximum pitch rotation at breathing strength 1.
    Yaw Max Float The maximum yaw rotation at breathing strength 1.
    Vertical Max Float The maximum vertical position offset at breathing strength 1.
    Horizontal Max Float The maximum horizontal position offset at breathing strength 1.

    See Also

    Additive Transforms

    SimpleBreathHandler

    StaminaSystem

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