Get Player Character vs. Get Player Controller


At first I used Get Player Controller to get the distance to the player but when I played the spider wouldn’t always attack. After switching the reference to Get Character Controller it works perfectly. Confused on what the difference is between them and why in this scenario the character controller didn’t work.

The Player Controller and Player Character are two different Actors. The reason you got the wrong result with the controller is that while it is placed in the level, it does not share the same location as the character it is controlling. While Player Character is the actual acting that is being controlled and represents where you actually are.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms