Search Unity

  1. Full schedule for #UniteBerlin is now available! Featuring talks on our roadmap, hands-on labs and much more! Check it out!
    Dismiss Notice
  2. Unity 2018.1 has arrived! Read about it here
    Dismiss Notice
  3. Scriptable Render Pipeline improvements, Texture Mipmap Streaming, and more! Check out what we have in store for you in the 2018.2 Beta.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

When will Reactor be available?

Discussion in 'Cinemachine' started by enlite, May 16, 2018.

  1. enlite

    enlite

    Joined:
    Feb 27, 2017
    Posts:
    8
    Hi,

    Loving the flexibility and beauty of cinemachine so far. Big thanks to the devs. I would like to know when Reactor will be released.

    Thanks.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    1,108
    Reactor was designed at a relatively early point in the evolution of Cinemachine. Since then, Cinemachine has added enough native features to effectively replace what Reactor was doing, so we've shelved Reactor indefinitely.

    What specific functionality are you looking for?
     
  3. enlite

    enlite

    Joined:
    Feb 27, 2017
    Posts:
    8
    Thank you for responding.

    I am not looking for any particular functionality, just for examples on how to best rig the camera system to behave like AAA racing game titles. In particular I would like to know how to best place the camera(s), their orientation and blends. Do you have any pointers?

    Thank you in advance.
     
  4. Adam_Myhill

    Adam_Myhill

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    294
    Hi @enlite

    Reactor had some really good ideas and workflows but as Gregory said, it's so old and we've really moved on in so many ways. You can do most of what Reactor could do now much more simply.

    I'll give you an overview of some ways to approach a 3rd person car camera.

    Get the latest CM from the Package Manager - if you're on 2017.x

    Import the example packages
    upload_2018-5-16_17-25-45.png

    Load up the FollowCam scene
    upload_2018-5-16_17-20-28.png


    In there you can see a Simple Follow camera setup. Mess around with the Aim and Body controls to get different feels. It has a simple but powerful/flexible follow camera setup.

    That's a start. Next steps are to change cameras based on what's happening with the vehicle - that's what Reactor did - allowing different game variables to drive camera properties. One way to do this now is with the Mixing camera:​
    upload_2018-5-16_17-20-38.png

    This lets you create a number of cameras and mix between them based on whatever you'd like.

    One setup could be to have a 'Slow' camera, which is close to the car and has a particular composition and then make a 'Fast' camera which is higher, further back and say with a little bit of noise or more aggressive damping.

    You can dynamically blend between those two cameras based on the vehicle speed, so as you go faster it blends smoothly from the Slow to the Fast camera, with the Child Camera Weights
    upload_2018-5-16_17-20-49.png

    Add a 3rd camera 'Turbo' which gets closer but widens the FOV is outside of the mixing camera. Simply turn that camera on and off whenever the person presses the Turbo button in your game will cause the Turbo camera to blend in and out.

    Do this by setting up a Custom Blend rig on the Main Camera's 'Brain, shown here:
    upload_2018-5-16_17-20-19.png

    You can setup how any two cameras can blend, note the wildcards here so that it will blend into Turbo camera over 1 second and then blend back out of Turbo camera for 2 seconds, every time you press the turbo button (which turns that camera on and off)

    You can continue this thinking to make as many camera behaviors to listen to game events as you want.

    I did the cameras on the game Need for Speed and we had 49 ! different channels from car to camera. Crazy!

    Always remember rule #1 for Cinemachine:
    Never try to make one virtual camera do everything. Instead make lots of different vcams and blend to them based on events in your game




    Let us know how it goes!
     
  5. enlite

    enlite

    Joined:
    Feb 27, 2017
    Posts:
    8
    Hi Adam,

    Thank you so much for filling my knowledge gap and reaffirming that I was not overthinking the problem by using multiple cameras and blend techniques. I will go back and add more of what you have prescribed. Knowing that this is how the "pros" do it will keep me sane :) . I will keep you posted on my endeavours.

    Thanks again.
    Ken.