How to detach child from parent on "death" in Blueprint character

Ok, so that’s not really a game and you are not really comfortable with scripting math?

In that case, I think you could just replace your child actors with Scene Component and tag them as “UnitSpawnPoint” or something, then on Begin Play gather all Scene Components with this tag (GetComponentsWithTag) and in ForEachLoop call SpawnActorFromClass using the transform of every scene component.
Remember to set Actor Class to your own character class.

Then, on unit death use DetachFromActor as shown by BIGTIMEMASTER above

Just keep in mind, this whole spawning from scene components is really hacky, it’s not something I would do in real game :slight_smile:

2 Likes