Skip to content

This is a orthographic camera controller for the unity game engine.

License

Notifications You must be signed in to change notification settings

WobiWanKenobi/orthographic-camera-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

orthographic-camera-controller

📸 About

This is an orthographic camera controller for the unity game engine, that is currently limited to ortographic cameras.

🔧 Configuration

To set up the camera controller you need to create a new "empty game object" as camera rig, set it's 'x' and 'z' position to any value that suit the starting position of your game and set the 'y' rotation to 45 degrees. After that create a new camera as child of your camera rig game object and set it's 'y' position value to any value that suits your scene. And don't forget to set the 'x' rotation value of your camera to 45 degrees. After that you can specify all the other parameters to your liking, change the CameraController values, add postprocessing, etc.!

Here is a sample setup of all important values with screenshots from my game:

  1. Camera rig game object:

camRig

  1. Camera game object:

camera

  1. Preview:

preview

🎮 Controls

  • Move the camera around: W, A, S, D or use the arrow keys
  • Turn Camera by 90° around the point it is looking at: Q, E
  • Zoom: Mouse wheel
  • Fast and slower movement speed: shift, left ctrl
  • 🧭 Patch Notes

    Feel free to open an issue, if you found a bug or have an idea for additional features and improvements!

    Changelog

    • V1.0
      • Uploaded first version of CameraController

       

      © 2024 Tobias Witte. All rights reserved.

    About

    This is a orthographic camera controller for the unity game engine.

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages