Chapter 08 Player Classes & Input
#075 Unpossess
Your hero dies, but the player can still walk the body around? Call Unpossess.
- 1:15 video
- Written lesson
- Beginner
Free for everyone from 22 Nov 2026, 00:00 CET
Break the link
Health reaching zero changes nothing by itself. The Controller keeps sending input to that Pawn.
Unpossess takes just one input: the Controller as Target. There’s no Pawn pin.
- The node breaks the link. Neither actor is destroyed. The Pawn stays, and the Controller stays.
- The Pawn stops getting input, and Get Controller on that Pawn returns None.
- A walking Character also stops, since Character Movement needs a Controller, unless you tick Run Physics With No Controller.
- The view target falls back to the Controller, so the camera leaves the body.
Example: a death sequence
Inside the hero: Get Controller into Unpossess. Input stops, and the body stands still.
Three seconds later, you want to possess a new hero, so you call Get Controller again. It returns None. This hero has no Controller anymore, and Possess gets Accessed None.
The fix: save the Controller in a variable first, then Unpossess, then use that variable.
When you need it
- Often you don’t. Possess already releases the old Pawn, and destroying a Pawn detaches the Controller too.
- Use Unpossess when the body must stay, like a corpse, or a cutscene.
In short
Unpossess breaks the link. It destroys nothing.
Covered in this lesson
- Unpossess
- Get Controller
- Possess
- Run Physics With No Controller
- Character Movement