Placing actors

Once you have all of your assets in your Content Browser, the next step is to place them in your game. We are going to use the cube mesh in the Content Browser to create objects in our game, such as the key cube, the AI-controlled object, the doors, and so on.

First, let's make the door that opens when you place the key cube on the pedestal. Simply drag the TemplateCube_Rounded static mesh from Content Browser and place it in the hole where the door is supposed to go. Set its dimensions using the scale tool, so that it perfectly fits.

Placing actors

To make things easier and convenient, you can change the name of the cube to Door01 in the Details ...

Get Unreal Engine: Game Development from A to Z now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.