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"

relation of movement and fps ?

dose speed of objects have a direct variation to FPS? for example , imagine there are two Pcs, one of them has a FPS 100 and another one has a FPS of 50, Both of them run the same game and start to going forward at the same time ( suppose there is a spaceship that can go forward in space ) I want to know if the pc with higher FPS reaches the END point sooner or not ?

Product Version: Not Selected
more ▼

asked Feb 17 '19 at 02:15 AM in C++ Programming

avatar image

75 5 9 15

avatar image Chyros Feb 17 '19 at 06:35 AM

It depends on how you implemented your movement logic. You can make the framerate dependent (100 FPS movement is faster than the one with 50 FPS) or framerate indepentent (100 FPS movement has the same movement speed with the one with 50 FPS).

Below is an example of framerate dependent movement:

alt text

And below is an example of framerate independent movement (Notice the added node GetWorldDeltaSeconds:

alt text

avatar image AAriyAA Feb 19 '19 at 06:04 PM

Thx for Replay. the answer is correct.

GetWorld()->GetDeltaSeconds() ;

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

0 answers: sort voted first
Be the first one to answer this question
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