Project – creating an interactive lamp
Follow these steps:
- Inside the Content Browser area, create a new folder named
Blueprints
. Right-click inside this folder (or use the aforementioned methods in the first section of this chapter to explore different types of blueprints/blueprint classes) to add a new blueprint class. Choose Actor as the class and name itBP_myFloorLamp
. Double-click the blueprint to open it. - Click the plus (+) button in the top-left corner to add components. Type
Static Mesh
to add a static mesh component. In the static mesh details, choose a floor lamp mesh from your Content Browser area. - Next, add any other components you need, such as a cable or decorations, using static meshes as well. In the Viewport tab, transform these components (move, rotate, or scale) to achieve the desired appearance.
- The order of components shown in the list to the left is important; the first element will be the root of our blueprint. You can leave it as...