Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    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!