Files
UnrealEngineUWP/Engine/Source/Runtime/PhysicsCore
Benn Gallagher 0f24902964 Chaos - Change main scene substepping to run external to the solver update loop, unifying the process with async mode for the dispatch of substeps so we end up with correctly interpolated input forces when substepping. We still support internal substepping for other use cases in the short term (RBAN) until such time they can also be unified.
Included unit test for edge case where we sleep an object somewhere in the update before the end of the batch of substeps to make sure we correctly collapse the result queue before updating the game thread

#rb Ori.Cohen
#jira UE-113173
#lockdown Nick.Whiting
#preflight 607049e835bf8c00010ed3bb

#ROBOMERGE-OWNER: Benn.Gallagher
#ROBOMERGE-AUTHOR: benn.gallagher
#ROBOMERGE-SOURCE: CL 15966981 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15984566 by Benn Gallagher in ue5-main branch]
2021-04-12 18:47:39 -04:00
..