I want to delete the enemy but not the bullet it spawned

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LeBreadConsumer

So have an instanced enemy scene and I want it to spawn bullets when it gets deleted. My problem is when I delete the enemy instance the bullet instance gets deleted too because it is its children.

How should I spawn the bullets?

:bust_in_silhouette: Reply From: SteveSmith

Don’t make the bullets the children of the enemy; e.g. make them the parent of the main scene.

Thank you!
I was able to solve the issue, thanks to your answer :slight_smile:

LeBreadConsumer | 2023-01-19 20:49