From the course: Unity Medical Visualization: 03 Deployment and Usability

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Coding rotation controls

Coding rotation controls - Unity Tutorial

From the course: Unity Medical Visualization: 03 Deployment and Usability

Start my 1-month free trial

Coding rotation controls

- [Instructor] In a preceding movie, we set up Cinemachine to create our free look camera which is attached to the main camera here. If I expand the root and I select the main camera, you can see that a Cinemachine brain component is attached. But if you take a look at the game tab, this is really not the view that we want to have of our heart. If I select the free look camera, you'll see here inside the game tab that we get these different visualizations which is really part of the Cinemachine free look camera. So I can toggle the lines and guides off of the view here. But I'm going to leave them activated and configure my free look camera. To get started at doing that, I'm going to dock the game tab here and then move to the scene tab so that I can get a better look of our heart. Now you'll see that we have the heart model here and we have the camera over here along with the Cinemachine virtual camera looking at the…

Contents