I’m making a tower defense and I’m trying to place a Tower Blueprint into my world from the HUD at the cursor location. It should spawn a tower onto the landscape and should have collision with other towers so you cant spawn them on top of one another.
I got the Detect Drag and On Drag Detected parts made. I am now trying to use On Drag Cancelled to drop my blueprint tower into the world. Problem is that I don’t know how to start this. I don’t know how to spawn the tower blueprint at the location of the player’s cursor onto a landscape.
The tower blueprint is a Blueprint Class and its parent is its Turret AI Controller if that helps.
If there is a better way of doing this let me know