Hello,
Are there any plans to introduce Cinemamachine support anytime soon?
If not, is there perhaps a way to temporary turn off Adventure Creator? If I'd like to come back to using default Unity's camera system instead, use Cinemachine and then turn the AC back on?
Comments
If you're just looking to make use of Cinemachine cameras, then you should be able to integrate it with AC already by making the Cinemachine "brain" an AC Camera (see Section 4.3 on Custom cameras in the Manual).
If you want to disable AC because you're looking to use Cinemachine in conjunction with Timeline, you can use the provided Engine: Control Timeline Action to automatically handle camera control.
However, it is possible to turn off both AC's MainCamera and AC itself - see Sections 4.6 and 12.4 of the Manual respectively.
Which forum-found Actions are you referring to?
I don't recommend making the AC MainCamera the same as the Cinemachine brain - either make it an AC GameCamera (attach the "Basic Camera" component - see the Manual's Section 4.3) or enable/disable that and AC's MainCamera simultaneously so that only one is active at any one time.
To disable/enable the MainCamera, you only need to refer to static components, not specific object references, as covered in Section 4.6. If the MainCamera is disabled, other AC GameCameras need not be - they only act as references for the MainCamera.
How do you mean about integrating CM Cams into Cutscenes? The same workflow (disabling the MainCamera before, re-enabling after) should work in that case too, and the Engine: Control Timeline Action can optionally do this automatically if you're using Timeline.
Fair point about the Cinemachine Brain. I would suggest in that case that the best approach would be to have AC's MainCamera disabled whenever CM is being used, and vice-versa.
Disabling GameObjects themselves is generally bad practice, so disabling CM's Brain and Camera components should be enough. AC's MainCamera can be disabled without reference to any GameObject in the scene, as covered in Section 4.6 of the Manual:
AC.KickStarter.mainCamera.Disable ();
A custom Action could handle the state of both CM and AC in one, with an option for which one gets enabled. I can aid you with writing one if you like, but if you have something in the works already you may like to see how you go with it and I'll advise with what you have.