docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Cinemachine Confiner 3D

    Important

    In Unity 6.6 and later, Cinemachine is a core package that's distributed with your Unity Editor, so Cinemachine 3 isn't available in the Package Manager. In the Package Manager, use the Cinemachine version that matches your Unity Editor version instead. If your project already uses Cinemachine 3, you don't have to upgrade its content.

    Use the Cinemachine Confiner 3D extension to limit the camera’s position to a volume.

    The camera’s position in 3D is confined to a volume.

    Property: Function:
    Bounding Volume The 3D volume to contain the camera in.
    Slowing Distance Size of the slow-down zone at the edge of the bounding volume. When the camera is moving towards an edge and is within this distance of it, it will slow down gradually until the edge is reached.
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)