Advanced practice Week 1
- walshygunner
- Sep 14, 2021
- 1 min read
To start This weeks work I had to get create a camera management system this was done by creating a blueprint and setting it to an actor. then I went into the event graph and created a new variable, this variable was set as a camera actor.


After this I created some camera actors and put them into the world and bound them to the camera manager and applied it to the view target in the camera manager blueprint.

Following this I need a way to switch between many different cameras so I had to get started on making a simple UI and so I added a button and set all the anchors and the transformations. After this this I went the event graph to add a custom event creating an input that is the camera manager.



After all that I needed to create a function in the camera manager and to have the camera switch between different ones and not the same one I used integers to do this I also duplicated the camera variable so I can use 2 cams, here I could reuse some of the blueprint that I created before and just alter it to another camera, and finally we just have to set each camera to a number this will let it choose one other as many others as you want.


Finally I need to make it so when the button is pressed it will switch the camera this is done by going back into the menu/UI Event graph and created an "on clicked" node and set it to the target of the camera manager.

Comments