Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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