Vertx » video

Unity – Improved SceneView Camera

Overview: The FreeCamera solution comes with two modes for operating the scene-view camera in Unity: Free (Trackball) and 6Axis. Free (Trackball): Inspired by Modo’s trackball camera I took a day to write a Unity solution. The trackball should override Unity’s scene camera rotation when enabled. Describing how it works is a little hard; there’s a cross centred in the middle of the viewport that gets weaker the closer to the corners you go. If you’re in the middle of the vertical part you can rotate over and under by dragging down and up. If you’re in the middle of the horizontal part you can rotate left and right. Dragging around the edges will roll the camera. All these work in tandem, increasing and decreasing based on the distances from the cross lines and edges. 6Axis: Six-axis mode realigns the scene-view’s “up” to an appropriate axis when the camera tilts over 90 degrees. This effectively creates a default scene camera that can view the scene from any direction. Still incapable of rolling the camera in use, but able to roll when you look “too far” up or down. Interestingly when changing axes close to 45degrees you may feel like there’s issues of intention vs reality, this is […]
Read More ›