Changing player camera inside character BP
I am first making prototypes with BPs and then translate them into C++, but Im starting to have problems with this.
I made an actor BP, which is basically a security camera, but what I want to achieve is when the player hits or presses the key, let's say 'C' the player will now get view from the security camera. I've seen many examples of how to achieve this but all of them are done on the Level BP but I want to do it inside the character BP.
I have the Set View Target with blend, but I don't know how to get a reference to the camera component in the Security Camera BP.
I've tried creating a Object variable with reference, casting to the camera object but I can't manage to make it work.
¿how can I achieve all of this inside the player/character BP?
Follow this question
Once you sign in you will be able to subscribe for any updates here