UE4: blueprint don't rotate the player

In my game on Unreal Engine I have 2 levels and each have some doors to move betwen levels, so after loading level I need to place player near the correct door

Inside switch block I check the door name and depending on that place player near his door on the other level. It works, it move player but don’t rotate it. Can’t understand why

Hi! I tried it, but it gives me an error. I need to move FPS and it inherits from Character class

Not sure how your setup looks like, but the player’s rotation might be handled by the Player Controller.

That would always fail because your character is not the Player Controller. Player Controller handles rotation of the Player through a property called Control Rotation.

Cast To FPS (character) as you are already and set Location only (you actually do not need to cast here at all!). Then Get Player Controller and Set Control Rotation like this:

250244-capture.png

Also, a tip: you can make as many Get Player Character nodes as you want and place them strategically around the graph. This will reduce the amount of wires you need to drag and make things easier to read.

It works, thank you very much =)