You need to use the call GetWorld()->GetDeltaSeconds() to get the delta time from the engine.
GetWorld()->GetDeltaSeconds()