docs.unity3d.com
    Show / Hide Table of Contents

    Class ThirdPersonFollowDistanceModifier

    This is an add-on for Cinemachine virtual cameras containing the ThirdPersonFollow component. It modifies the camera distance as a function of vertical angle.

    Inheritance
    Object
    ThirdPersonFollowDistanceModifier
    Namespace: Cinemachine.Examples
    Syntax
    public class ThirdPersonFollowDistanceModifier : MonoBehaviour

    Fields

    DistanceScale

    Declaration
    public AnimationCurve DistanceScale
    Field Value
    Type Description
    AnimationCurve

    MaxAngle

    Declaration
    public float MaxAngle
    Field Value
    Type Description
    Single

    MinAngle

    Declaration
    public float MinAngle
    Field Value
    Type Description
    Single
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023