Switch between third person and first person characters
I'm using the first person template to create a Metroid fangame with a Prime-esque setup, and I'm having problems creating the morph ball. I have the blueprint for the morph ball coded and I'm using a player controller blueprint to make the switch between the two. When I press the key to morph, it spawns the morph ball actor but does not destroy the Samus actor, camera does not track the ball and is also restricted to horizontal rotation. Switching after this always locks up the camera completely. This is my player controller BP.
Am I missing something required to tell the game it's switching to third person? I was certain just switching the actor was enough and the camera used by the actor was what determined perspective.
asked Apr 21 '16 at 11:24 PM in Blueprint Scripting
Hi!, first I'll tell you how you could make it work with your current setup and then I will give you suggestions that may be useful. Keep in mind I'm updating the engine right know so I cant test your setup or my solution but I hope it can help you.
Solution (I hope): So lets get to it. in the blueprint above you are destroying the player controller instead of the actor the player controller is controlling. And given that the player controller is destroyed the transform it passes doesn't exist. From the player controller you should get the controlled pawn and hook it to the destroy actor node.
Hope you find this useful
Programmer at Unforgiven
answered Apr 22 '16 at 12:07 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here