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"

Why Can't The Flying Example Ship Do A Loop? & Movement Questions

Why Can't The Flying Example Ship Do A Loop? When you try to do a loop it goes to the point of going straight up and then starts to do some odd barrel roll movement. I remember there was a biplane game that one of the artist built and it looked like a more true example of flying than this one.

I'm also really confused about why the ship just flies forward with no input. I'm just trying to figure blueprints out, but I do get that it looks at the current time tick and adds a value to the forward momentum. I would really like to tie that to a button press, I also want the speed to go to zero so I can land the craft as well.

The other thing I would like to do is have the model bank to the left and the right when turning. Anyone want to help show a blueprint challenged artist how it is done? Thanks in advance for any help (currently watching UE4 blueprint video series trying to learn as much as possible as soon as possible !)

Product Version: Not Selected
Tags:
more ▼

asked Jun 15 '14 at 11:08 PM in Blueprint Scripting

avatar image

NickZucc
203 14 19 148

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

2 answers: sort voted first

Why Can't The Flying Example Ship Do A Loop? When you try to do a loop it goes to the point of going straight up and then starts to do some odd barrel roll movement.

Gimbal Lock. This is a well documented problem: http://en.wikipedia.org/wiki/Gimbal_lock

The problem is that the blueprint is using Euler angles with vectors and rotators, the solution is to adopt quaternions instead - which are not currently properly supported by Blueprints for reasons many of us have not been able to fathom; and if it were exposed you'd likely need to change a fair bit of the movement setup in the Blueprint. There is an absolutely solid description of how to handle these degrees of freedom here (note that the code is UnrealScript as it is for a previous iteration of the engine, but the technique does translate quite well into UE4 in theory). http://www.preparefordescent.com/docs/6DOF_UnrealScript_Tutorial_ini.pdf

I don't have the blueprint example you're describing to hand, so I can't answer the other half of your question - but depending on the first half of your aims, this may have unfortunately rendered the second half redundant since it's not actually that easy to do in blueprints - and it's very math heavy.

more ▼

answered Jun 16 '14 at 12:51 AM

avatar image

ambershee
603 23 30 51

avatar image NickZucc Jun 16 '14 at 01:41 AM

Ambershee, thanks for the explanation. Much appreciate. I do understand about gimal lock from my time setting up characters in Maya, I never thought that would be an issue inside of UE4 at least for movement (rotation) in world space.

Here is the example that I was speaking of. I believe that Epic artist Shane Caudle is the one that created this. From what I remember, he said he created this with with blueprint. (Edit I just found a video that shows some of the blueprint for this....wish Epic would release this demo.)

Unreal Engine 4 - Plane Prototype Demonstration (Part 3)

Unreal Engine 4 - Plane Prototype Demonstration (Part 4)

avatar image NickZucc Jun 20 '14 at 01:27 PM

Just wanted to reach out to the community one last time on this one and see if anyone had an idea on how to produce the movement shown in the videos listed above via blueprint. Thanks again Ambershee for the help on the topic.

avatar image NickZucc Aug 05 '14 at 11:45 PM

Can someone from Epic reach out to artist Shane Caudle and ask if can post his bi-plane blueprint set up? Thanks!

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

In case of an non gravity flying pawn this works. if you just disabe "Set Current Role Speed" on Move Right event, it will also disbale the automatic back rotation. https://answers.unrealengine.com/questions/596782/stop-unwanted-flying-pawn-z-axis-reorientation.html

on the other hand if you want to have a aircraft controll system, try out aerocomp. (https://www.unrealengine.com/marketplace/aerocomp) its worth its money

more ▼

answered Nov 14 '17 at 01:35 AM

avatar image

Spaehling
163 7 14 22

(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