From 49c487cd826d158b7ceabefe1f1058cf3862f4ce Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 23 Jun 2023 19:06:05 +1000 Subject: [PATCH] Use the correct interpolator for MovementController rotation --- source/game/StarMovementController.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/StarMovementController.cpp b/source/game/StarMovementController.cpp index 26e540a..2baaaf5 100644 --- a/source/game/StarMovementController.cpp +++ b/source/game/StarMovementController.cpp @@ -183,7 +183,7 @@ MovementController::MovementController(MovementParameters const& parameters) { m_xVelocity.setInterpolator(lerp); m_yVelocity.setInterpolator(lerp); - m_rotation.setInterpolator(lerp); + m_rotation.setInterpolator(angleLerp); m_xRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp); m_yRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp);