Looking to make a toggle for my FP and VR character

Specifically, the ChangePawn function in /Game/CollaborativeViewer/UMG/GameMenu/NavigationButton handles the change.

The process flow of saving the Transform of the current Pawn, spawning a new Pawn with that Transform, and deleting the old Pawn is roughly the same as the attached implementation.

You can run PIE and confirm switching with P and I on the keyboard.

In addition, the Pawn for VR executes the EnableHMD function to switch to VR mode.
This is done with the following PossesedVRPawn function.
/Game/CollaborativeViewer/Blueprints/Pawn/VR/BP_VRPawn

1 Like