Setting a Cinemachine VC to compose relative to a character's rotation?
I'm working with Cinemachine for the first time, and it seems like it's easy to place a Virtual Camera in a fixed point and have it look at a character, or to have a camera be offset from its follow target in WORLD coordinates.
Is there an easy way to have a camera be offset from its follow target in LOCAL coordinates? For example, to be located 10 units behind a character's back? It feels like something that should be easy, but I can't figure out how to do it.
Thanks -- ChrisF
Answer by SlapworthFH · Apr 04, 2018 at 01:02 PM
Thanks so much! I hadn't found that set of documentation; it's super helpful.
I'll route future questions through the forum.
Answer by Adam_Myhill · Apr 04, 2018 at 02:22 AM
Hi @SlapworthFH
The CM forums are the best place to ask questions as we closely monitor them: https://forum.unity.com/forums/cinemachine.136/
As for your question, it's easy - put a Transposer module on the Body section of your vcam, then decide how you'd like the camera to follow whatever you've put in the Follow section
I've put an image of the vcam setup so you can see it.
As for the different follow methods, search for 'Transposer' in the documentation to see how those different binding methods will give different behaviours. We've spent a lot of time in this module getting it right, so you'll hopefully find exactly the result you're looking for. If not, hit us on the forums!
https://docs.unity3d.com/Packages/com.unity.cinemachine@2.1/manual/index.html
Your answer
Follow this Question
Related Questions
How Do I Make the Camera Follow an Escape ship. 0 Answers
Disable Animation when object is visible on camera 0 Answers
Move elements in canvas like a moving camera 0 Answers
Animated Sprites blocked by Canvas 1 Answer
There is no 'Animation' attached to the "Camera" game object, but a script is trying to access it. 0 Answers