A downloadable tool

Buy Now$2.00 USD or more

A feature-complete, tunable, stateful RTS-style camera for Godot 4.


Officially supports Godot V4.7

Controls

All controls may be set in the project settings, or by updating the camera defaults via changes to the script.

  • Zoom in/out: Mouse Wheel
  • Zoom up/down: Mouse Wheel + Alt
  • Zoom in/out to Cursor: Mouse Wheel (Toggle: M)
  • Drag to Pan: Middle Mouse Button
  • Drag to Rotate (Free Look): Right Mouse Button
  • Drag to Orbit: Hold Alt + Middle Mouse Button
  • Screen Edge Pan: Move Cursor to Screen Edge
  • Manual Movement: Arrow Keys, or WASD
  • Manual Rotation: Left/Right = Q/E
  • Toggle Follow Mode: F
  • Sprint all Move Actions: Hold Shift

Zoom Features

  • Z-Axis Zoom to World Mouse Cursor
  • Z-Axis Zoom to Look Direction
  • Pure Y-Axis Zoom Camera Height

State Features

IDLE (default state)

  • Manual Movement
  • Screen Edge Pan
  • Zoom in/out
  • Start ROTATING
  • Start PANNING
  • Start ORBITING
  • START FOLLOWING

ROTATING

  • Manual Movement (If ROTATING from IDLE)
  • Zoom in/out
  • Drag to Rotate (Free Look)
  • Return to IDLE or FOLLOWING

PANNING

  • Drag to Pan
  • Return to IDLE

ORBITING

Orbits around the point on the world XZ plane looked at by the screen center when entered from IDLE state.

Orbits around the follow target when entered from FOLLOWING state.

  • Drag to Orbit
  • Return to IDLE or FOLLOWING

FOLLOWING

  • Zoom in/out
  • START ROTATING
  • START ORBITING
  • Return to IDLE

Assets and Code released under PolyForm Perimeter License 1.0.1

Published 3 hours ago
StatusReleased
CategoryTool
AuthorAldoZeroun
Tags3D, addon, camera, Godot, rts, tool
AI DisclosureAI Assisted, Code

Purchase

Buy Now$2.00 USD or more

In order to download this tool you must purchase it at or above the minimum price of $2 USD. You will get access to the following files:

godcamera3d-default.zip 13 kB
Version 4