⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    OverShoulder MonoBehaviour

    Overview

    The OverShoulder behaviour allows you look over your shoulder, keeping your weapon pointing in its original direction.

    Inspector

    OverShoulder

    Properties

    Name Type Description
    ReferenceTransform Transform The transform to use as the un altered aim direction.
    OverShoulderTarget Transform The transform to look down (forwards) when looking over shoulder.
    TurnTime Float The time taken to turn.
    MotionGraphKey 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