Use the correct interpolator for MovementController rotation
This commit is contained in:
parent
e5d2e2c462
commit
49c487cd82
@ -183,7 +183,7 @@ MovementController::MovementController(MovementParameters const& parameters) {
|
|||||||
|
|
||||||
m_xVelocity.setInterpolator(lerp<float, float>);
|
m_xVelocity.setInterpolator(lerp<float, float>);
|
||||||
m_yVelocity.setInterpolator(lerp<float, float>);
|
m_yVelocity.setInterpolator(lerp<float, float>);
|
||||||
m_rotation.setInterpolator(lerp<float, float>);
|
m_rotation.setInterpolator(angleLerp<float, float>);
|
||||||
m_xRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp<float, float>);
|
m_xRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp<float, float>);
|
||||||
m_yRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp<float, float>);
|
m_yRelativeSurfaceMovingCollisionPosition.setInterpolator(lerp<float, float>);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user