About Orbital Cam
The Orbital Cam is a highly customizable and easy-to-use Camera Asset. It consists of a Rig with a main Component Script and (optionally) a few Input Component Scripts.
The system uses the Old Input System, and supports keyboard, mouse, touch and UI buttons.
For more information check out the explanation of all the Controls or watch some of the Examples.
You can also read the Documentation or dive in to the Public API if you need to control the Orbital Cam from another script.
Features
- Uses the Old Input System
- All features can be turned on/off as needed.
- Mouse
- Drag the ground to pan with any mouse button (default: right)
- Rotate and tilt around target with any mouse button (default: middle)
- Edge scrolling
- Keyboard
- Move around with keyboard (default: wasd + arrow keys)
- Rotate with keyboard (default: q + e)
- Rotate in steps (default: 90 degrees)
- Tilt with keyboard (default: f + c)
- Zoom with keyboard (default: z + x)
- Touch
- Move with touch (default: one finger)
- Rotate and Tilt with touch (default: two fingers)
- Zoom with touch (default: two finger pinch)
- Automatically adjust height to terrain, specify layer mask for terrain
- Bounding box limits the playable area
- Variable speeds for key/button press
- Orthographic camera support
- The Public API can be used to let you control aspects of the script from elsewhere in your code. Fx. in tutorials, cutscenes, when clicking the minimap etc.
Screenshot

Example Scenes
License
OrbitalCam is licensed as an Extension Asset under the Standard Unity Asset Store EULA One license is required for each individual user.
Support
If you experience any bugs, please don't hesitate to contact me for support.