Search Unity

Cinimachine Confiner not working porperly

Discussion in 'Scripting' started by puddleglum, Jul 31, 2020.

  1. puddleglum

    puddleglum

    Joined:
    May 11, 2020
    Posts:
    412
    i have multiple cameras for each screenbox of my game. i have them all dissabled so that when the player enters the screen i can enable them, this allows for easy switching between cameras. but for some reason he confiner addon doesnt work after i have deactivaed and activated them.

    now that i think about it alot of weird stuff happens with the collider if you dissable the CMvcam atached, another issue i had was the main camera (not the CMvcam) started to fall rapidly (it doesnt have a rigidbody) and wouldnt stop.

    ps my entire frame script depends on te fact that i can switch cameras each frame
    is there a cause/solution for these issues?
     
    Last edited: Jul 31, 2020