I just finished my 1st tutorial on Camera Zones, Camera target, Changing targets and managing multiple zones.
It’s a 4 part “series” and this is a my first tutorial so please constructive criticism is more then welcome.
I have 3 videos out of 4 that are ready 2 of them are already uploaded and the 3rd one is uploading as we speak. The 4th video will probably be ready tomorrow but with the first 3, you will be able to make the camera zone work. The 4 video will show you how to change targets on the fly. (ex. following player, then following projectile or showing a special area, then coming back to player.
What will you learn:
- Setting up your camera
- Setting your camera zones
- Setting up your triggers to activate those zones
- Setting up the target that the camera needs to follow
- Setting up a logic to change target on the fly (ex.: from the player to a projectile or specific area of your map and then back to your player.)
Setting your camera in your scene, referencing it in other blueprints, calculating the coordinates of your camera zone and assigning a target.
how to set multiple zones with triggers and how to know when they are activated.
how to handle the camera movement.
Why I did this?
My game is a sidescroller and I needed the camera to stay within a certain boundary depending on where I was in my level. Also, in certain circumstances, I will need for the camera to follow another target then my player. With the spring arm and camera attached to the player, It complicated things a bit especially when it came to not showing certain parts of my map, with collisions, etc. So by settings my camera like this, I feel I have more control over it and it stays where I want.
So hope this help some of you out there and happy game deving everyone