Fixed consistency of Trajectories with different time steps #436

Merged
direnbharwani merged 5 commits from SP3-2-Physics into main 2023-03-22 22:33:24 +08:00
1 changed files with 4 additions and 0 deletions
Showing only changes of commit e02e3f5faf - Show all commits

View File

@ -285,7 +285,11 @@ namespace SHADE
return;
while (accumulatedTime > fixedDT)
{
simulateBody(ghostBody, simInfo);
accumulatedTime -= fixedDT;
}
if (!simInfo.continuousForce)
{