-
Notifications
You must be signed in to change notification settings - Fork 1
Adding Object Dropper Objects
Here is how to add Objects from the base game into your map. Once added, these Objects can be moved around ingame in Object Dropper mode.
To start, you will need to add the following folders to your Content folder:
ObjectPlacement/Objects
Right Click inside the Objects
folder, create a Blueprint Class and select Actor as the Parent Class.
Then you will need to rename it to match the Blueprint we're referencing, in this example I'm using PBP_OBJ_PoliceMetalFence
.
Unfortunately, we cannot simply place this Blueprint into our map, we will need to spawn it inside of our Level Blueprint.
Make sure to select the correct Blueprint under Class
, then right click Spawn Transform
and choose Split Struct Pin
.
When entering the transform location and rotation it can be a case of trial and error to get the Object in the correct position.
I recommend placing a random static mesh roughly where you want your object to be, copying the location into the SpawnActor node and removing the static mesh after.
Note: This implementation is far from perfect, if you remove the Object you will need to restart the map in order to see it again, and if you move the Object somewhere else and restart the map there will be two copies of the object, one in the moved position and one in the original spawn position.