Skip to content

Commit

Permalink
Fix ApplyTorque
Browse files Browse the repository at this point in the history
  • Loading branch information
NArnott authored and codingben committed Dec 30, 2021
1 parent f4927a9 commit 023fd83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/box2dx/Box2D.NetStandard/Dynamics/Bodies/Body.cs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ public void ApplyTorque(float torque, bool wake = true)

if (HasFlag(BodyFlags.Awake))
{
m_torque += m_torque;
m_torque += torque;
}
}

Expand Down

0 comments on commit 023fd83

Please sign in to comment.