Wednesday, November 16, 2016

Creating a Class Blueprint (Tutorial #3, #4, and #5)

A class Blueprint allows you to duplicate the same objects and functionality and scripts. This is is wonderful because you can create a Blueprint (BP) that does exactly what you want it to on whatever object it is that you want, and then you can click and drag that Class BP from your content browser into the scene and it is ready to go. Essentially it is the same thing as a prefab for Unity, except in UE4 it is much more clean cut and pipelined.

You can create a class BP in many ways, but the most common and straight forward one is to right click in you content browser and select the Blueprint Class option underneath "Create Basic Asset" as shown below.



From there you can make your class BP from within the class BP window. You can add assets to this window and design what game objects you want to make up your class BP. All you fave to do is click and drag the asset into the "Add Component" section, or click on "+ Add Component" and search for one. Here, we imported a lamp model, and a spotlight. we also added a collider, which will act as our trigger volume. This is not shown in the image below.




No comments:

Post a Comment