Skip to content

Commit

Permalink
Fix auto drift having wrong rotation sign
Browse files Browse the repository at this point in the history
  • Loading branch information
malleoz authored and vabold committed Dec 29, 2024
1 parent a023a1f commit 08cac69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/game/kart/KartMove.cc
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ void KartMove::calcAutoDrift() {
}

EGG::Quatf angleAxis;
angleAxis.setAxisRotation(m_autoDriftAngle * DEG2RAD, m_up);
angleAxis.setAxisRotation(-m_autoDriftAngle * DEG2RAD, m_up);
physics()->composeExtraRot(angleAxis);
}

Expand Down

0 comments on commit 08cac69

Please sign in to comment.