https://github.com/deathwatchgaming/unity-previewcameracontrol
Create a basic ("Preview Camera" / "Fly Cam") by example for your Unity asset and or project
https://github.com/deathwatchgaming/unity-previewcameracontrol
textmeshpro unity-camera unity-engine unity-scripts unity-ui unity3d
Last synced: 2 months ago
JSON representation
Create a basic ("Preview Camera" / "Fly Cam") by example for your Unity asset and or project
- Host: GitHub
- URL: https://github.com/deathwatchgaming/unity-previewcameracontrol
- Owner: deathwatchgaming
- License: mit
- Created: 2024-11-23T02:47:00.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T14:23:57.000Z (6 months ago)
- Last Synced: 2025-01-24T08:43:53.432Z (4 months ago)
- Topics: textmeshpro, unity-camera, unity-engine, unity-scripts, unity-ui, unity3d
- Language: C#
- Homepage:
- Size: 325 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity-PreviewCameraControl
Description:
------------Create a basic ("Preview Camera" / "Fly Cam") by example for your unity asset / project


REPO NOTE: The purpose of this repository / project was decided upon recently
when working on another project and creating these scripts for using while
working on that project and then coming to the conclusion, hey, this would be
helpful for myself and or anyone else that wanted a basic "fly / preview cam"
say for usage when creating and or distributing assets like terrain demos or
other such assets that do not have say an included character controller or
would not need one but would need some type of preview camera to view the
demo content in asset or what not, thus upon considering such it was decided
to add this repository for such...NOTE: This project was developed while / for using Unity 2021+ & 2022+ & Unity 6
Preview Camera Controls:
------------------------Note: The following found below are related to the provided scripts.
Basic:
* Forward: W
* Reverse: S
* Left: A
* Right: D
* Up: Q
* Down: E
* Minus FOV: Z or Mouse Scroll Wheel
* Plus FOV: X or Mouse Scroll WheelFurther:
* Vertical Move Input: Vertical
* Horizontal Move Input: Horizontal
* Mouse Scroll Wheel Input: Mouse ScrollWheel
* Mouse Y Input: Mouse Y
* Mouse X Input: Mouse X
* Plus Speed Left Key: Left Shift
* Plus Speed Right Key: Right Shift
* Minus Speed Left Key: Left Control
* Minus Speed Right Key: Right Control
* Plus Lift Key: Q
* Minus Lift Key: E
* Cursor Lock Key: End
* Minus Field Of View Key: Z
* Plus Field Of View Key: XNOTE: This can be used simply as preview cam script only or also provides the
option to then opt to also add the preview cam altitude script as well.Dependencies:
The Preview Camera Altitude Script uses Text Mesh Pro
Manual Setup Instruction:
-------------------------Simply follow the documentation instruction linkages for manual setups found below.
* Preview Camera Setup Documentation: https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Camera-Documentation.txt
* Preview Camera Altitude Setup Documentation: https://github.com/deathwatchgaming/Unity-PreviewCameraControl/blob/main/Assets/PreviewControl/PreviewCamera/Documentation/PreviewCamera-Altitude-Documentation.txt