Search Unity

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

3rd person camera movement

Discussion in 'Cinemachine' started by Shosk, Jun 21, 2022.

  1. Shosk


    Sep 15, 2020
    Hello. Im very new to unity (give or take 2 months of using it) Im stuck on a concept of camera usage. What I am aiming for is the camera movement used in World of warcraft. Where the right mouse button is click and drag in order to move the camera, scroll to zoom in and out. I've figured out cinemachine with the camera placement for 3rd person. where I'm lost is the code in order for the camera to be free and only move when I click and drag with the right mouse button. Anyone have an idea what I need there?
  2. Gregoryl


    Unity Technologies

    Dec 22, 2016
    There are several ways to do this, and the best way would depend on how you have set up your 3rd person camera.
    1. Can you paste here an image of the inspector of the CM camera?
    2. Also please show an image of the hierarchy so that I can see the relationship between the player, the main camera, and the CM camera.
    3. And finally, what version of CM are you using?