How to Rotate UFO sideways while turning at -90
I have Started to learn Unreal Engine, and am new to this Engine and overall new to Game Development, My first learning is to create a simple Ufo flying game mode for my first project.(Template UFO UE4)
I want to firstly move my UFO forward and backwards, Which i achieved using Thrust example. Then i managed to create a rotator stabilizer to prevent the Ufo turning balasticly insane.
But now am trying to implement the Rotating Pawn while turning, An example is i want to learn something like this (Example is below) https://www.youtube.com/watch?v=eNz0hkjz9cc&list=PLJ0gcEhJ8djRKtt2MfIm8aXaL9MbgZ5Wr∈dex=14
Similar movement of the video.
I want to implement this Under 1 Input binded to A and D.
When pressing D it will turn right and Rotate the Ufo to -90 When pressing A it will turn Left and Rotate the Ufo to 90
Im trying to learn how to combine this together. I created a base Blueprint i can turn 360 rotation but i cant figure out how to combine with rotation and turn together And that it cannot go more then -90 , 90 Can anyone pin point me or can help me showing an example ?
having looked at your BP, I think you might find it simpler to use the following nodes:
Add Pitch Input, Add Roll Input and Add Yaw Input
Get Control Rotation and Set Control Rotation nodes can also be very useful
For appearances, if you'd like to add a bit of Roll while you are changing Yaw... you could use the Z value in Get Angular Velocity
answered Jan 12 '18 at 11:42 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here