Action RPG Style Camera

How would I set up Cinemachine to have a camera in a fixed rotation (x30, y45, z0) and follow the player similar to an action rpg (Diablo) or a moba (League of Legends)?

Use a Framing Transposer in the Body, and Do Nothing in the Aim. Set the vcam’s rotation in its transform to what you want.

3 Likes

Thank you! this helps me a lot.
I have to add that in my case, I’m spawning network objects, so when the scene is rendered my virtual camera is not following anybody; when the LocalPlayer is spawned into the scene, then I have to set up everything through script.
At the beginning the camera didn’t look at the player and also the camera movement was weird. I have to add that my scene have a Box Collider to confine the cameras and part of the problem was that the collider was interfering with the camera rotation, so I enlarge the collider to have a clear view of the scene.
Also, I set up an Starting Point to point the virtual camera at that spot until the LocalPlayer spawn into the scene.
The result was really satisfactory.

2 Likes