Construct Prefabs
Prefabs are hierarchies of entities and components you can use to construct reusable gameplay objects in UEFN.
This page walks you through the creation of five different prefabs:
- Prefab_TriggerableMesh
- Prefab_TriggerableLight
- Prefab_TriggerableMovingMesh
- Prefab_PuzzleManager
- Prefab_Trigger
Triggerable Mesh Prefab
The Prefab_TriggerableMesh is a prefab with the following hierarchy:
- Entity:
transform_component,mesh_component,triggerable_mesh_component
The transform_component is included on all entities by default. This is because all entities physically exist in the level and, in order to exist in the level, they must have a transform that enables them to be located. To create the Prefab_TriggerableMesh, follow these steps:
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.