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"

How to multiply by delta time?

Hello there!

So, I'm making a kind of a day/night cycle, and it's working almost properly so far. Given that I use the Tick event, everything triggers in each frame, but if my game goes at 30FPS, my day/night transition is twice as long.

I know I have to use delta seconds to do this, but I'm failing to do it right, I don't really know how I can multiply it so it can work correctly.

I would appreciate so much if you could give me any tip on how to solve this. This is the graph (connected to a tick event): alt text

Product Version: UE 4.14
more ▼

asked Mar 05 '17 at 03:34 PM in Blueprint Scripting

avatar image

12 4 4 7

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

1 answer: sort voted first

GetWorldDeltaSeconds * TheAddedValuePerFrame

more ▼

answered Mar 05 '17 at 06:26 PM

avatar image

349 11 14 21

avatar image MadnessReloaded Mar 06 '17 at 09:57 PM

Dumb me, thank you!

avatar image v_i_m Dec 12 '18 at 08:12 PM

Doesn't work... Delta Seconds or WorldDeltaSeconds multiplied with a value don't function like Time.DeltaTime in Unity. I get weird values that will break my functions.

(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