⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PeekVertical MonoBehaviour

    Overview

    The PeekVertical behaviour allows you to peek over or under obstacles by moving the head up/down.

    Inspector

    PeekVertical

    Properties

    Name Type Description
    Peek Distance Float The distance up or down to move the camera when peeking up or down.
    Peek Speed Float The speed the character can change lean amount.
    Max Move Speed Float The maximum speed the character can travel before the peek is cancelled. (0 = no max speed).
    Motion Graph Key String The key to a motion graph switch parameter that dictates if the character can peek or not.

    See Also

    Additive Transforms

    Motion Graph Parameters And Data

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