hey Oxyten - welcome to the unreal forum
about your question: i am not sure if i understood your question correctly, it requires more information what you are actually trying to do (paste some code or a picture here).
Generally, the PlayerController is NOT the same as the character class. The PlayerController manages player inputs, while the character uses it e.g. define functionality what happens if mouse is clicked and so on. Player Controllers in Unreal Engine | Unreal Engine 5.4 Documentation | Epic Developer Community (epicgames.com)
it seems playercharacter might be a class that derived / created from unreal character.class