Skip to content

Commit aac32e3

Browse files
[Physics] Minor fix;
1 parent 9c41f3f commit aac32e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Engine/StapleJoltPhysics/JoltPhysics/JoltPhysics3D.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,11 @@ public void Update(float deltaTime)
413413

414414
foreach (var pair in characters)
415415
{
416+
if (pair.enabled)
417+
{
418+
pair.character.PostSimulation(0.05f);
419+
}
420+
416421
var transform = pair.entity.GetComponent<Transform>();
417422

418423
if (transform != null)

0 commit comments

Comments
 (0)