How to repossess third person character

Currently I have a boat script and my Third Person script, when you get near the trigger to get in the boat, and press the f key, I can possess the boat pawn just fine. However when I press the f key again to possess my Third Person character again(the one from player start) it doesn’t do anything. I created a ref to the class and I’ve tried casting, neither one worked. If I spawn a new Third Person and possess it, it works but that isn’t what I need.


You should connect the ‘player ref’ to the Player Controller node. I’m under the assumption that the boat and character have different controllers.

please show the code where you set the pmayer Ref variable and the code where you repossess the character pawn