Rotate actor in it's forward axis

Hi everyone I’ve been trying to solve a problem for a couple of days but right now I’m stuck.

I am programming the movement of an aircraft and I want it to banks when turning left or right, that is, roll a max of 30 degrees to the left or right on the forward axis independently of the actor’s global rotation in the world. I’ll add an image of what I have to achieve.

What I have done works fine as long as the belly of the aircraft is facing the ground but it breaks completely when the belly of the aircraft is facing the sky.

Any ideas? Thanks!

Sounds like you’re using world rotation, why not try local rotation? That would be relative to the craft.

Thanks! It’s working now, sometimes the easiest solution is the last one that comes to mind

1 Like