-
Notifications
You must be signed in to change notification settings - Fork 16
Getting Started
Jesus Bracho edited this page Jan 11, 2024
·
21 revisions
- In
Edit > Project Settings > Input > Default Classes
ensure that your input classes are using the Enhanced Input plugin classes.
- Click
Add
in theContent Browser
- Create a new
BlueprintClass
- Search for and choose
BP_RTSCamera
- Drag it into your scene
- Take over the view target in the
Begin Play
event of your camera class. Be aware that theSet Active Camera
method makes use of aPlayer Controller
instance that is not present on dedicated servers.
If the RTS Camera is still competing with other cameras and camera managers, you can also try:
- Setting
Auto Manage Active Camera Target
in thePlayer Controller
instance tofalse
:
- Tracking down and disabling other competing cameras
- Making your camera class the default pawn of the scene
- Click on the
Place Actors Panel
- Search for and drag in a
RTSCameraBoundsVolume
to your scene
- (Optional) Customize the inputs