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"

Realtime input (frame rate independent)

Hi,

is there a way to poll for input at realtime that is not dependent on the frame rate? Is Unreal Engine capable of doing this or do I have to look for other engines or even native frameworks that can do this? It would be great if UE4 could do this, since it would provide input from different platforms without having to handle each platform independently.

The reason I'm asking this is that for this is that in fighting games, it is critical to receive and process input at a fixed rate (often 60 times per seconds) with fixed time intervals between the input processing steps, even if the framerate cannot keep up with 60 fps.

The idea is to have the game logic separate from the main thread, which handles rendering. Input should be gathered at fixed intervals (for example every 16,66 milliseconds) and provided to the game logic thread, calculate the game logic for the input (which of course must take less long than 16,6 milliseconds) and only use the main thread for rendering the world state. For example by taking the world state data from the logic thread from the previous frame and the current frame and interpolate the data, then render the visuals with the provided interpolation.

There are some really good fighting games that were made with Unreal Engine, for example Guilty Gear Xrd. I'm believe they would already have such an input mechansism that is not dependent on the frame rate. So I think it must be possible?

Product Version: UE 4.17
Tags:
more ▼

asked Oct 15 '17 at 08:59 AM in Everything Else

avatar image

simon41
16 1 1 2

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

1 answer: sort voted first

Hi, have you ever found the answer? I need this as well...

more ▼

answered Aug 15 '18 at 02:13 PM

avatar image

StAnger
1 1 1

avatar image Akitsuki Rin Oct 20 '18 at 06:28 AM

Same here!

(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