⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    ConstrainCameraPitch MotionGraphBehaviour

    Overview

    The ConstrainCameraPitch behaviour is used to constrain the player character's camera to a specific pitch range direction while inside a motion state.

    Inspector

    ConstrainCameraPitch

    Properties

    Name Type Description
    Min Pitch Constraint Dropdown What is the minimum pitch based on. Value is a specific angle from the horizontal plane. Parameter is an angle set in a float parameter. GroundSlope is an angle from the ground plane in the current direction.
    Minimum Pitch Float The minimum angle the camera can look down. This property will only be visible if the constraint is set to Value.
    Min Pitch Parameter FloatParameter A float parameter representing the minimum angle the camera can look down. This property will only be visible if the constraint is set to Parameter.
    Min Ground Offset Float The angle from the ground plane (based on the current ground contact) that will be the minimum angle the camera can look down. This property will only be visible if the constraint is set to GroundSlope.
    Max Pitch Constraint Dropdown What is the maximum pitch based on. Value is a specific angle from the horizontal plane. Parameter is an angle set in a float parameter. GroundSlope is an angle from the ground plane in the current direction.
    Maximum Pitch Float The maximum angle the camera can look up. This property will only be visible if the constraint is set to Value.
    Max Pitch Parameter FloatParameter A float parameter representing the maximum angle the camera can look down. This property will only be visible if the constraint is set to Parameter.
    Max Horizon Offset Float The angle from the ground plane (based on the current ground contact) that will be the maximum angle the camera can look down. This property will only be visible if the constraint is set to GroundSlope.

    See Also

    MotionController

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