Game Development

Switching between cameras in blueprints

I am hoping that somebody may also help me, I’ve a blueprint referred to as “BP_NPC_Shop” that holds some objects and a field collision, when the participant runs over that field collision they will press ‘e’ to set off an occasion. In my case I wish to change the digicam from the “ThirdPersonCharacter” blueprint digicam to the digicam in my BP_NPC_Shop blueprint.

I setup all of the logic inside the occasion graph of the “BP_NPC_Shop” (enter motion works is the switching of the digicam that does not).
enter image description here

So, when the keyboard letter E is pressed, we see a string that displays that, the digicam is then meant to modify from the participant to the BP_NPC_Shop. I created an object reference to that blueprint and used it as the brand new view goal, it was my understanding that when utilizing “Set view goal with mix” it would search for the primary digicam it finds inside a reference blueprint.

The issue I’m going through is that after I press E on the field collision, the digicam switches to a primary individual view.

Cameras regular place (2.5d recreation)
[enter image description here

Camera switch (wrong camera as this is not the shop camera)
enter image description here

Is the manner in which I’m doing this wrong and what can I change to make this work correctly?

About the author

Theme control panel

Leave a Comment