# Rotate Spaceship with Thrusters

Hello,
I’m stuck at this

I hope my english is enough for explain this question;

I’m making a space game and using thrusters for movement. I’m trying to rotate ship for X:30" at relative rotation when using Yaw thrusters.

For example when spaceship moves right or left, it needs to rotate from X vector 30 or -30 degree .

I tried tons of things but no of them works as expected.

This is my setup for YAW movement;

How can i achieve that?

Thanks a lot

I need that too …

I checked Viper project but this is not i’m asking, i’m already using thrusters for movement, i just want to know how to rotate ship (roll for 30 degree) when using Yaw to sides, Just like the Everspace . Like ;

You need thruster setup like this:

All distances from center of mass shoud be equal. for eg 100 unit to t he left and right, 100 up/down and 100 forward/back. This way all forces will act in same way.

Another tip is: make box (or traingular shape) for physics body. Make sure this mesh is symmetrical. Make it invisible, then attach visible model to it, but model should have no physics. This way you can have assymetrical visible model, all while physics works as intended. Asymmetrical physics model will result in spaceship drifting,

To move forward, you apply same force to both red vectors, to turn you apple +force to one of them and -force to another. Same with roll and pitch.

Now tricky part, you want stop rolling at 30deg. You can use math for it ie, calculate force to nullify momentum your ship has, its not trivial.
Or you can use angular damping, ie make it quit high just before ship rolls to 30deg (or when player releases button to roll urn).

PS.
I am not sure if you are making realistic spaceship turning, or its more like airplane in space.

Thanks A LOT for answers. I did exacly you said and i think i am at the right way. My Ship Pawn is :

And My BP is :

Bu still i coudnt do the rotate ship with this setup.

Now ship rotates but when got 30 degree for Roll, ship goes up or down.

Am i doing something wrong?