Adding variables inside the Actor Blueprint
In order to continue with the PCG graph and its modifications, we need to add a few more variables inside the Actor Blueprint, which will be used to communicate directly within the PCG graph nodes.
Setting up variables and the Box collision component
In this part, you will add a set of variables, and the most important is the functionality of resizing the Box collision component, which will be an essential part of scaling up and down the size of your PCG:
- Open your Actor Blueprint (
BP_MeshGenerator
), which we created in the previous chapter, and let’s start adding new variables:
=
Figure 4.3 – Accessing BP_MeshGenerator
- Click on the plus icon next to the VARIABLES section and start adding new variables, as shown in Figure 4.4. Make sure to make the Box Extent vector variable public:
Figure 4.4 – Adding a new variable and setting its...