Rasagar/Library/PackageCache/com.unity.cinemachine/Documentation~/CinemachineTopDown.md

9 lines
1.0 KiB
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
# Top-down games
Cinemachine Virtual Cameras are modelled after human camera operators and how they operate real-life cameras. As such, they have a sensitivity to the up/down axis, and always try to avoid introducing roll into the camera framing. Because of this sensitivity, the Virtual Camera avoids looking straight up or down for extended periods. They may do it in passing, but if the __Look At__ target is straight up or down for extended periods, they will not always give the desired result.
**Tip:** You can deliberately roll by animating properties like __Dutch__ in a Virtual Camera.
If you are building a top-down game where the cameras look straight down, the best practice is to redefine the up direction, for the purposes of the camera. You do this by setting the __World Up Override__ in the [Cinemachine Brain](CinemachineBrainProperties.md) to a GameObject whose local up points in the direction that you want the Virtual Cameras up to normally be. This is applied to all Virtual Cameras controlled by that Cinemachine Brain.