Looking to maintain a "distance lock" to a targeted Enemy

So I was able to get a sort of “target lock” which keeps the player character always facing the enemy. I was able to get a distance lock close to the enemy, but my character slowly moves to the right for some reason.

Is there a better way to do this? Any suggestions are very much appreciated :slight_smile: