I’m trying to create a camera that will go from one room to another room using blueprint. does anyone have done this before?
the idea is when I press a button on the keyboard the camera will move to the next room.
if you guys have any links or ideas on how to approach this then that will be great!
Simple version: separate player pawn from camera pawn.
More details:
Instead one player pawn that has camera make two pawns, one is player character second is pawn with only camera.
So if you already have player pawn create second and call it for eg. “camera pawn”.
Then posses that (camera pawn) instead of player pawn, this way camera is attached to that pawn.
Now create some dispatcher (or events, or send directly) and send player keyboard input over to player pawn for actions that are meant for character.
Actions for camera, you send to camera pawn.
I done this setup for topdown maze shooting/walking game and it works very well.
You can also modify above setup by turning character pawn into full AIPawn, then instead of input you send AI orders over.
This works even better because all animations are smooth and connect (blend) at right moments, much better than when user can interrupt anim at any moment.