Skip to content

Commit 023fd83

Browse files
NArnottcodingben
authored andcommitted
Fix ApplyTorque
1 parent f4927a9 commit 023fd83

File tree

1 file changed

+1
-1
lines changed
  • src/box2dx/Box2D.NetStandard/Dynamics/Bodies

1 file changed

+1
-1
lines changed

src/box2dx/Box2D.NetStandard/Dynamics/Bodies/Body.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ public void ApplyTorque(float torque, bool wake = true)
448448

449449
if (HasFlag(BodyFlags.Awake))
450450
{
451-
m_torque += m_torque;
451+
m_torque += torque;
452452
}
453453
}
454454

0 commit comments

Comments
 (0)