Skip to content

UE5 Enhanced RTS/MOBA camera implementation

License

Notifications You must be signed in to change notification settings

XpycT/EnhancedCamera

Repository files navigation

Enhanced Camera - Unreal Engine Plugin

An easy way to add an RTS/MOBA camera to any project.

Core Features

  • Camera Movement Bounds
  • Unit selection
  • Follow Target
  • Ground Height Adaptation
  • Mouse-based movement (Edge Scrolling)
  • Key-based movement
  • Smooth camera rotation
  • Smooth camera zoom
  • Reset camera state

Input Actions:

  • W,S,A,D or Mouse Move - Camera movement
  • MMB+Mouse Move - Camera rotate
  • Scroll Up/Scroll Down - Camera zoom
  • Home - Reset Camera

Installation

  1. Navigate to your project's directory and create a Plugins/ folder if it does not exist.
  2. Download and extract the archive into the Plugins/ folder.
  3. Launch your project. Ensure that the EnhancedCamera plugin is enabled.
  4. Create a new blueprint and inherit from ECRTSCamera or BP_RTSCamera.
  5. Open your blueprint and assign your InputMappingContext and InputActions, or use the ready-made ones from EnhancedCamera/Content/Input/.
  6. Add your blueprint to the scene.

Example

Recording.2024-01-14.201538.mp4