Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vasilevvitalii/godot-3d-mapcameracontroller
camera controller for RTS, TBS
https://github.com/vasilevvitalii/godot-3d-mapcameracontroller
Last synced: about 2 months ago
JSON representation
camera controller for RTS, TBS
- Host: GitHub
- URL: https://github.com/vasilevvitalii/godot-3d-mapcameracontroller
- Owner: VasilevVitalii
- License: mit
- Created: 2024-03-03T15:19:14.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-18T05:08:57.000Z (9 months ago)
- Last Synced: 2024-04-18T11:10:46.699Z (9 months ago)
- Language: GDScript
- Size: 530 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot-3D-MapCameraController
Camera controller for RTS, TBS. Created using Godot version 4.2## Features
* MOVE - moving the camera in two asix (horizontal plane) parallel to the map, usually by WASD in keyboard
* PAN - moving the camera in two asix (horizontal plane) parallel to the map by mouse
* ZOOM - camera zoom in one asix, usually by mouse scroll wheel
* ROTATE - rotate camera in two asix by mouse move, usually by middle mouse button
* signal "map_camera_controller_mouse_position_signal" - to get ray from camera to terrain## Usage
* From repository downoad folder /MapCameraControllerProject/MapCameraController
* Copy this folder to your Godot project
* In "Input Map" add missing action (names of your choice), example:
![Input Map Example](readme_picture1.png)
* Add map_camera_controller.tscn to your scene
* Change properties MapCameraController - set names actions, example:
![MapCameraController Properties](readme_picture2.png)### You can also download and open the demo project /MapCameraControllerProject