My only thought on the refactoring is that an easier method of getting the player’s world location is just to use “GetOwner()->GetActorLocation()”. This could be used directly without the need for a specific GetPlayersWorldPos() member function.
My only thought on the refactoring is that an easier method of getting the player’s world location is just to use “GetOwner()->GetActorLocation()”. This could be used directly without the need for a specific GetPlayersWorldPos() member function.