Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    Dismiss Notice

Cinemachine Luigis Mansion 3 Style Camera

Discussion in 'Cinemachine' started by alber_developer, Jan 14, 2022.

  1. alber_developer

    alber_developer

    Joined:
    Jul 2, 2016
    Posts:
    11
    I'm new to Cinemachine, so forgive me if this is a stupid question or has been answered before. I am trying to create a camera system for a 3d platformer using Cinemachine that is similar to Luigi's Mansion 3. Here you can see an short video (from minute 5 to 6:30 aprox):


    I have thought about to create a "horizontal" dolly track for each area, and a trigger collider between doors to translate the camera... but I look this solution very heavy and too difficult to implement. I tried that and so the result wasn't that I've expected. This may there another simply solution with Cinemachine?

    PS: Some areas are 'vertical', so the technique must be the same but in Z axis.

    Thank you so much!
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    667
    You can achieve this with a FramingTransposer, Confiner and CinemachineTriggerVolumes.

    Check these example scenes: 2DConfiner, 2D Zoom, 2DTargetGroup, Trigger volume, CameraMagnets.

    You can get our example scenes from the Package Manager. Click on Cinemachine, and download our samples.
    Samples.png

    If you get stuck or need more info don't hesitate to reach out ;)
     
    Last edited: Jan 14, 2022
    Gregoryl likes this.
  3. alber_developer

    alber_developer

    Joined:
    Jul 2, 2016
    Posts:
    11
    okay, thank you for the initial resources to get started. I'll try it.

    Best regards.
     
unityunity