Search Unity

Confiner with Mesh Collider

Discussion in 'Cinemachine' started by Ph3n0m, Jul 1, 2020.

  1. Ph3n0m

    Ph3n0m

    Joined:
    Sep 11, 2017
    Posts:
    2
    Hello,

    Are there any plans for Cinemachine Confiner extension supporting concave Mesh Colliders (non-convex)? I've recently tried to confine my camera inside a collider which was a shape of my level, so that my camera won't render what's outside of the bounds of the level, but it was impossible. It works only for convex mesh colliders.

    Thanks in advance for an answer.
    Regards.
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Hi,
    Yes, it is in an experimental phase. It is a complex problem :eek::)
     
  3. Salveiro

    Salveiro

    Joined:
    Jul 24, 2018
    Posts:
    5
    Hi, any update on this? :)
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    @Salveiro Check out the CinemachineConfiner2D now available in CM 2.7.2
     
    Last edited: Mar 22, 2021
    gaborkb likes this.