PlayerStart orientation does not match meshs' Forward direction

In my scene I have a mesh (a ship) which points forwards along the X axis.
When adding a PlayerStart component to my scene and defining its orientation, the PlayerStart points along the Y axis.

When I now start the game my camera will look in the desired direction specified by the PlayerStarts orientation. But the ship will look at the X axis.

55608-meshviewport.jpg

In my mesh viewport the ship is looking along the X axis and the camera is looking at the ship from behind.

As mentioned above the PlayerStart points along the Y axis.

The result in game looks like that.

How can I make the ship also looking in the orientation of the PlayerStart? I need change the orientation in the mesh viewport? I would be reluctant to do. How can I match the meshs’ forward direction with the PlayerStarts’ orientation in the editor?

Thanks in advance.

You need to make sure the Mesh in your view port is facing down the BLUE Arrow. That is where the forward orientation will be.

Try that out. =)

Thanks for your answer. If I rotate my mesh 90° around Z it will work. But then my rotation calculation goes wrong. Is it not best practice to let the mesh pointing to the X-axis (forward) in the viewport?

The blue arrow should be facing down the X axis. Are you sure you don’t have your Gizmo turned onto local space instead of world space? Thats a common problem. In your upper right of your viewport, you should see a Earth for world space or a Box for local space.

Ah ok. I see the icon. But it’s a little bit confusing. If the world-icon is shown: is it means that I am currently in world-mode or is it mean “switch to world mode”?

The icon you see is what mode you are in. If you see the Earth, your in World space =)

ok, thanks :slight_smile: but what do you exactly mean with “the blue arrow should facing down the x axis”? Like this: Imgur: The magic of the Internet ? But this only works in local space. If I rotate in world space, the Z-Arrow always points upwards. If I do this rotation you see in the image my ship will also be rotated downwards in game.

Whereas this rotation (in local) would solve my issue: Imgur: The magic of the Internet

Sorry for the confusion, I was referencing the Big blue arrow(not the gizmo) that was on your capsule component in your player start pic

Ahh now. Sure :slight_smile: Everything’s working fine. It’s already too late… Should go to bed :slight_smile: Thanks for your help!