Facing Direction Fix?

I apologize I’m painfully new to this. I’ve been trying to learn by simply dissecting pre-made games and trying to understand their actions.

When setting a facing direction when spawning into the game, my event player always seems to spawn facing a good 90 degrees to the left with a slight upwards angle. I have no idea how to fix this because I quite literally copied the variables, teleport actions, and facing direction command of a previous map.

If someone could breakdown an easy way to set the direction, I’d super appreciate it.

Just to clarify, not a permanent direction, just trying to point the player in the direction of the activity so that they arent spawned looking into an empty side of the map.

When teleporting a player, they will always have their vertical facing angle (Y Component) set to 0. The horizontal angle (X & Z Component) will be left the same as before the teleport. You need to use a SetFacing() action just after the teleport action.

To get the facing direction you want, just make a HUD element that displays the FacingDirectionOf(EventPlayer). Then go to the place you want to have setup and put the value shown into your script. (Inside the SetFacing action)

1 Like

Thanks a lot Xerses-21917