RTS 3D Camera

An asset by sehgel
The page banner background of a mountain and forest
RTS 3D Camera hero image

Quick Information

0 ratings
RTS 3D Camera icon image
sehgel
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. README example

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

  1. Add CharacterCamera.gd and CameraInput.gd into your project.
  2. Connect all the signals in CameraInput.gd you need to the homologues functions in CameraController.gd: README signals
  3. 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 README signals

License

MIT

These are a couple of scripts for controlling a configurable 3D Camera for RTS games.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
RTS 3D Camera icon image
sehgel
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

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers