lucastle6969 / comp371

repository for comp371 final project Fall 2017 Concordia
0 stars 0 forks source link

Animated turns #87

Open benwiley4000 opened 6 years ago

benwiley4000 commented 6 years ago

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.