Journeyman Post 4

This week the main goal was to fix some bugs with the player controller I was made aware of this week. These problems occurred when a placeholder asset was introduced to the controller. The problems were that the animations were rotated 90 degrees to the right causing movement to look janky and also the player controller was spinning rapidly whenever the player controller would input any movement.

These problems have been fixed by us moving the test mesh we are using from the inherited mesh slot to within an invisible cube, as this seems to not cause the camera’s parent scene actor’s yaw value to rubber band causing spinning.

Before

After

After fixing this change we had an issue with the combo system for attacking, so I helped to correct the issues.

Before

After

Before the changes the attack system would play the first animation and get stuck with the IsAttacking variable not updating correctly causing the player to lose the ability to attack. To fix this we removed the IsAttacking variable and replaced it instead with a delay after the left mouse input is received to delay the attacks, so the player cant attack too quickly.