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"

standalone halfs the speed of my physics driven airplane


I've made this physically driven (or flown) airplane with just blueprints that works perfectly in the editor. As i've tried to export it, in order to have a standalone version of my game, a weird behaviour occurred:

  • my airplane has an approximate max speed of 200mph in the editor but only 80-90mph in the standalone.

  • the acceleration that my controller inputs should add to the airplane doesn't match the one i have in the editor but looks like less than half of what i've made.

  • i have no framerate drops, everything's fine running at solid 120fps

  • my airplane feels way heavier than it should be.

i'm pretty sure that i'm doing something wrong somewhere because i'm a 3d artist and not a programmer, i can't find any details on forums etc so please, if you have an idea on what's causing this, i'd apreciate some help :)

thanks in advance!

Product Version: UE 4.21
more ▼

asked Apr 04 '19 at 12:46 PM in Using UE4

avatar image

1 1 2

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

1 answer: sort voted first

I assume you move things in tick event and if you got this kind of difference it is mostlikly because you didn't scale the change values by delta time.

Tick is triggered every frame, so all calucaltions oyu doing are executed on every frame, but this makes code frame depended if you have game that normally run on 60FPS and suddenly your game runs 30FPS for some reason the rate of changes happening in tick will go half as tick will be triggered half of the time.

Thats why on tick event you got delta time parameter (all delta secounds), this is estimated time between frames and you need to scale the change you doing in you calculation byt that delta time like this

x = x + (delta * DeltaTime)

normaly without DeltaTime x would add delta on every frame, but if you do this insted delta will represent "change in secound" because you scale it to time that passed between the frames which counts in secouds (xChange * 1 = xChange). Thsi way you code is time dependent not frame dependent everything will move as much time passes not as much as frame are rendered.

Thats my while guess because what you describe is most common symptom of this, you need to explain how you actually move things in your project if it's something else.

more ▼

answered Apr 04 '19 at 03:28 PM

avatar image

37.3k 936 172 1116

avatar image AUGHH Apr 05 '19 at 12:01 PM

Thanks for your answer dude!

all i have in my scene is this controllable pawn (i believe) that i'm moving around adding physics linear velocity to it when i press a button on my controller. I made it with just blueprints. Do i have to set the "actor Tick" interval to 1 instead of 0 that's given by default?

avatar image mightyenigma Apr 05 '19 at 03:46 PM

No, you can leave the interval as is, and it should tick with every frame. You just need to factor in the time between frames, because it will be different depending on the power and therefore the framerate of the device it is running on.

(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