After I attacked the enemy many times, the enemy rotated inexplicably.

Hey there @Anonymous_27618a49f5a6ba9be48133ea81082640! Welcome to the community! For your hits, are you just using an extended sphere trace or is there actual collision? If it’s collision, that could be causing rotation of the capsule.