I noticed that, in the lectures, getting delta time outside of the tick function was shown in 2 different ways. One was using GetWorld()->GetDeltaSeconds(), and the other is UGameplayStatics::GetWorldDeltaSeconds(UWorldContextObject). Is there any reason to use one over the other or does it come down to preference?
No real reason, It should effectively be the same thing.
3 Likes
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.