Skip to content

A strategy like camera rig for Unity3d

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

Cxyda/OmaTools-RTSCamera

Repository files navigation

OmaTools-RTSCamera

A strategy like camera rig for Unity3d

Summary: This is a simple and easy to use camera system for strategy-like games.

Features:

  • Camera is 'floating' above a layerMask and always keeps the same distance (handy for terrains with hills etc.)
  • Camera translation can be controlled by the Keyboard and Mouse (new and old input system supported)
    • Moving the camera by moving the mouse to the screen edges is supported as well
  • Camera Rotation can be controlled by the Keyboard and Mouse (new and old input system supported)
  • Camera bounds can be specified where camera movement is allowed.
  • Camera can follow a target (e.g. a player or any other gameObject)
  • Easy to use and setup
  • Lots of settings to customize the camera to your needs

How to 'install'

Using Unity's package manager (Unity3D 2021.3+)

  1. Open the package manager in Unity
  2. Click the "+" Button at the upper left corner and select "Add package from git URL..."
  3. Enter the URL: "https://github.com/Cxyda/OmaTools-RTSCamera.git"

OR

  1. Open the manifest.json file in your ./packages/ folder in your unity project
  2. add

"de.oma.tools.rtscamera": "https://github.com/Cxyda/OmaTools-RTSCamera.git",

to your dependencies.

NOTE: don't forget to add the comma ',' at the end of the line OR at the line above the line you added

  1. Go back to Unity and your Packages should be updated.

How To Setup

  1. In Unity Select O.M.A.Tools > Cameras > Create RTSCamera from Unity's tools menu
  2. The RTSCameraRig GameObject will be spawned in the Scene.

Known Issues

  • No issues known

I hope you like this small camera system. Have fun with it.

Donate

  • If you feel like my tools are useful to you and / or you want to buy me a cup of coffee this is how you do it :) paypal

About

A strategy like camera rig for Unity3d

Resources

License

GPL-3.0, Unknown licenses found

Licenses found

GPL-3.0
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Packages

No packages published

Languages