Unity Globe Based Camera by Outrider0x400 - 1


A Unity script that imitates the view from a person observing globe, for strategy games.

Unity 2018.3.2f1Unknown LicenseUpdated 223 days agoCreated on June 8th, 2019
Go to source

Globe Camera Script for Unity

This script provides a set of camera control to imitate the view from a person that is observing a globe of a planet, to work with strategy games or space games that allow players to inspect planets. demo1 demo2

The angle between the viewing direction and the direction of the planet core stays constant during movement.

The viewing direction can be changed, but the up direction of the view will always be towards the general northern direction.

The camera is not allowed to hover directly above the two pole regions.

The input buttons can be changed in the Input Manager. Attach this script to a camera. It will treat the parent of the camera object as the origin of the spherical system.

Show all projects by Outrider0x400