UE4/5 implements multi-camera mode switching (first-person, third-person, etc.)

For multi-camera mode switching, the SetViewTargetWithBlend node is widely used on the Internet, but many camera parameters of this node cannot be set, and it is not suitable for multi-camera mode switching in games.

In fact, the camera tied to the Pawn by default in UE will automatically become the main camera. We only need to hang a few more Cameras on the Pawn, and only open one by default through the SetActive node to realize camera switching:
insert image description here

Guess you like

Origin blog.csdn.net/grayrail/article/details/130101041