⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PositionBobData ScriptableObject

    Overview

    The PositionBobData scriptable object stores bob information to be shared between multiple PositionBob behaviours. This allows all the bob effects on a character to sync up, and for the player to blend between item and head bob if htey find head bob uncomfortable.

    Inspector

    PositionBobData

    Properties

    Name Type Description
    Horizontal Bob Range Float The maximum position offset along the x-axis in either direction.
    Vertical Bob Range Float The maximum position offset along the y-axis in either direction.
    Bob Curve AnimationCurve The curve over one step cycle for the bob effect.

    See Also

    Additive Transforms

    PositionBob

    Unity AnimationCurve

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