Immediately destroy actor after un possesing

I think you can destroy it, and it will be unpossessed automatically

In my Play Controller, I have a bunch of functions to “hotswap” Characters in my game. I want to unpossess > destroy > create new character > possses.

Everything works except I can’t figure out how to destroy the old character after I Un Possess it.

Still run into the same problem of getting the Actor Obj to destroy.

You would just have to store it’s reference before unpossessing it, so you can use it to destroy it.

Could also do it from the pawn itself. Which would give you a chance to do something with it before destroying it if you want to.

263092-1.png

Exactly what I was looking for, thank you!