x

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"

Rotate pitch - pawn starts twisting at 90 degrees

So I have created a fighter jet, and I want it to pitch full 360, but it goes up till 90 degrees and starts twisting, now how do i prevent this?

Product Version: UE 4.17
Tags:
more ▼

asked Apr 29 '18 at 12:42 PM in Blueprint Scripting

avatar image

True Origins Int
47 6 11 19

avatar image goncasmage Apr 29 '18 at 01:15 PM

Can you show how you're doing it?

avatar image True Origins Int Apr 29 '18 at 07:10 PM

im using the same nodes as the default "fly" project

avatar image goncasmage Apr 29 '18 at 07:44 PM

Ok but can you post a screenshot of that?

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Just disable these nodes

alt text

helprotation.png (84.3 kB)
more ▼

answered Apr 29 '18 at 02:32 PM

avatar image

Norishou
21 1 5

avatar image True Origins Int Apr 29 '18 at 07:11 PM

wait if I disable that my roll input is gone

avatar image Norishou Apr 29 '18 at 08:04 PM

So this is the part you need to worry about

(comments are locked)
10|2000 characters needed characters left

You may be experiencing Gimbal Lock. Unreal's rotation stuff tends to use Vector rotations but these will get gimbal-locked if two axes get oriented to the same angle. There are ways to overcome this but I haven't tried myself.

blueprint nodes or C++ and other engines that don't have this problem use Quaternions to add rotation to the current angles. I heard there is a way to do this in blueprints using certain nodes (was it the Combine Rotators node that uses quaternions to operate on the rotators?) but I haven't solved this problem myself.

more ▼

answered May 07 '18 at 08:33 PM

avatar image

mightyenigma
3.7k 17 18 14

(comments are locked)
10|2000 characters needed characters left
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