Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. We're excited to be bringing you the newest Unity features, news, demos, and we've even got some special guests from some of the industry’s most storied franchises. Set a reminder to tune in on YouTube here
    Dismiss Notice
  3. Unity 2018.3 is now released.
    Dismiss Notice

Confiner 2D

Discussion in 'Cinemachine' started by Silverthorne, Jan 9, 2019.

  1. Silverthorne

    Silverthorne

    Joined:
    Dec 1, 2018
    Posts:
    9
    Hi! I'm very new to both unity and the use of Cinemachine. I have an issue when setting up a Confider 2D, where when the camera reaches the box collider, the camera sets its transform.position.y to minus 458 or more! Same with both left/right and top/down of the collider. Any idea what I'm doing wrong? The player stays at his correct position.

    I followed this guide for the confiner:
    https://blogs.unity3d.com/2018/07/17/cinemachine-for-2d-tips-and-tricks/
     
  2. Silverthorne

    Silverthorne

    Joined:
    Dec 1, 2018
    Posts:
    9
    Okay. I deleted the Cinemachine items in the Gizmos folder, deleted the virtual camera and the confiner gameobject, restarted my project, added everything once more and suddently it worked!