An easy way to add an RTS/MOBA camera to any project.
- 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
- Navigate to your project's directory and create a
Plugins/
folder if it does not exist. - Download and extract the archive into the
Plugins/
folder. - Launch your project. Ensure that the
EnhancedCamera
plugin is enabled. - Create a new blueprint and inherit from
ECRTSCamera
orBP_RTSCamera
. - Open your blueprint and assign your
InputMappingContext
andInputActions
, or use the ready-made ones fromEnhancedCamera/Content/Input/
. - Add your blueprint to the scene.