fix: physics engine not progressing properly due to wrong delta time parameter
This commit is contained in:
parent
bf34e52dc8
commit
48710b0a7f
@ -134,7 +134,7 @@ public class PhysicsEngine2D : HierarchyObject, IPhysicsEngine2D
|
||||
while (physicsTicker >= IterationPeriod)
|
||||
{
|
||||
physicsTicker -= IterationPeriod;
|
||||
Step(physicsTicker);
|
||||
Step(IterationPeriod);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user