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"

Tick and input actions order of execution

I was wondering about the order of execution concerning ticking and inputactions. Specifically I have an input action that causes the recalculation of a motor vector. This motorvector is added to the movementvector and the movement is then applied, each tick.

Is it possible that the tick continues doing whatever it's doing without ever waiting for whatever the inputaction does to finish? I don't know much about threading but does tick have its own thread possibly?


Product Version: Not Selected
more ▼

asked Apr 27 '15 at 12:21 PM in C++ Programming

avatar image

219 12 21 30

avatar image Rockseller Sep 05 '15 at 11:11 PM

Any answer to this?

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

1 answer: sort voted first

Ticks are executed asychronically (if multithreading is on) in groups called tick groups, here you got list of them (saddly this enum dissapered from API refrence so link is to github):


If one group is finished the other one is executed. You can switch tick group of invidual actor with this function:


You can also define invidual actors which need to be ticked before tick is triggered in specific actor


This way you can control order of actor ticking.

As for input i'm not sure, it probably updated before ticking is started. There function that let you check if specific button is pressed at the moment:


Which let you order up input checking too

more ▼

answered Sep 06 '15 at 04:23 AM

avatar image

Shadowriver ♦
25.1k 889 126 1029

avatar image UnrealDev00 4 days ago

Are you able to point to documentation or code that supports the claim that "ticks are executed asynchronously (if multithreading is on)"?

Writing code/blueprints to support that scale of multithreading is relatively advanced. Every access (read or write) to anything shared must be protected by a mutex to be threadsafe.

I'm pretty sure that the ticks in each tick group are run in serial on the main thread (though nothing prevents a tick from firing off some work to be done in parallel).

I can give you only link to code:


I might misunderstand something in this :p i also recently figured you need tick.AllowAsyncTickDispatch set 1 which is 0 by default

(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