I have a player camera, the player moves with left click.
I want to add free camera where i also can still move the character with left click.
Like in any MOBA games. I’ve tried few things but i am clueless right now. Any help is appreciated.
The most straightforward way would be to toggle the existing camera (or its springarm) between World
and Local
space modes:
- another way would be to have a separate camera actor and switch View Targets with
Set View Target With Blend
between the player pawn and said camera actor - yet another way is to have 2 camera components in the player pawn, 1 local & 1 world space. You can toggle ((de)activate) them to force which one the controller is looking through
- also, since this is a moba and we click to move, the pawn possession is not critical (is it here?); you could have a dedicated camera Pawn and
Possess
it or the player Pawn - have a camera pawn/actor and attach/detach it from the player pawn
All 5 methods would / could / should work.