# Unity3D-Orbital-Camera-Control **Repository Path**: licher58/Unity3D-Orbital-Camera-Control ## Basic Information - **Project Name**: Unity3D-Orbital-Camera-Control - **Description**: 有漫游、有跟踪 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-02 - **Last Updated**: 2025-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Unity3D Orbital Camera Control These two scripts allow the player to control an orbital camera that can track a moving object, or be moved around using the keyboard. The player can also control the radius of the cameras orbit with the scroll wheel or two set keys. ## Using In-Game The right mouse button controls the rotation of the camera: Dragging upwards rotates the camera to look from below, while dragging to the right spins the camera round to the left. Four defined keys, such as W, A, S and D, can be used to traverse the camera across the map. The scroll bar can be used to change the radius of the cameras orbit, as can two defined keys, such as E and Q. Finally, you can click on an object to track it. This follows the object as it moves, but you cna still control the rotation and the radius of the cameras orbit. Pressing any of the movement keys breaks out of this tracking mode. ## Setting Up *--- Pls have patience ---*