Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

alt text

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 ?

alt text

Product Version: UE 4.17
image2.png (248.2 kB)
more ▼

asked Jan 11 '18 at 11:46 PM in Blueprint Scripting

avatar image

1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

more ▼

answered Jan 12 '18 at 11:42 AM

avatar image

1k 8 17 20

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question