When calling move etc on an entity (i.e. the player), we should limit the amount of rotation which can take place. Rather than using the provided movement vector as-is, we should find a new face direction which is a slight rotation from the previous face direction toward the target direction. This way, repeated calls to move in the same direction will gradually move the player in the direction we want.
When calling
move
etc on an entity (i.e. the player), we should limit the amount of rotation which can take place. Rather than using the provided movement vector as-is, we should find a new face direction which is a slight rotation from the previous face direction toward the target direction. This way, repeated calls to move in the same direction will gradually move the player in the direction we want.