o3de / o3de-extras

Other
58 stars 60 forks source link

Use simulation time to compute time difference. #714

Open michalpelka opened 2 weeks ago

michalpelka commented 2 weeks ago

What does this PR do?

This PR changes number of places in codebase, where delta time is used. In current development (and release) the delta time was taken from AZ::TickBus::OnTick. That is a time between two OnTick. It is not simulation time. I've changed code to get simulation time.

How was this PR tested?

No tests yet, it is draft