In this tutorial you'll learn how to spawn objects into your scene, and ensure that every single time, they NEVER spawn inside a wall, in the ground, on the player, or on top of other enemies.
I'll show you the same technique we used in Samurado.
Hope you enjoy!