Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
RTS 3D Camera
These are a couple of scripts for controlling a configurable 3D Camera for RTS games.
Supported Engine Version
3.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL
Godot RTS 3D Camera
This is a couple of scripts for controlling a configurable 3D Camera for RTS games.
It includes:
- Size configurable edge pushing camera movement
- Smooth stopping
- Free look rotation
- Zooming
- Sensibility configuration
- Key configuration
- Mobile support with:
- Swipe to move
- Pinch to zoom
- Free look rotation
Installation
- Add CharacterCamera.gd and CameraInput.gd into your project.
- Connect all the signals in CameraInput.gd you need to the homologues functions in CameraController.gd:
- Add an action in Project->Project Settings->Input Map called "ToggleCameraAction" and bind any key you want.
Usage
In the included example project you can:
On desktop:
- Move the camera placing the cursor on the edge or near them depending on the current configured edge size.
- Hold mouse middle button and move the cursor around to rotate the camera view.
- Use the mouse wheel to zoom in and out.
On mobile:
- Swipe to move the camera.
- Press to the toggle button in the bottom left to toggle camera mode.
- While in rotation mode, slide your finger on the screen to rotate the camera view.
- Pinch to zoom.
Change action toggle key
You can change the action toggle hotkey in Project->Project Settings->Input Map
License
These are a couple of scripts for controlling a configurable 3D Camera for RTS games.
Reviews
Quick Information
RTS 3D Camera
These are a couple of scripts for controlling a configurable 3D Camera for RTS games.
Supported Engine Version
3.2
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
3 years ago
Git URL
Issue URL