Each Snap Point defines where other buildable elements can attach. A single buildable can have multiple snap points, each configured with gameplay tags to control compatibility.
Add one or more **ACFBuildingSnapPointComponent**s to your actor.
Position them at the logical attach points (edges, corners, etc.).
Configure the following properties:
Property | Description |
AllowedSnapTags | Defines which other buildable types can attach here. |
SnapType | Determines the snapping behavior (free rotation, fixed, or directional). |
bUseRotationFromSnap | If true, the snapped object inherits rotation from the target point. |
bVisualizeSnap | Enables debug visualization for easier alignment. |
The Buildable Entity Component automatically searches for compatible snap points during preview and aligns the actor accordingly.
The UACFBuildingManagerComponent is responsible for managing the player’s building session.
Typical flow in Blueprint:
Start Building Mode: Call StartBuildMode(BuildableClass) to spawn a preview actor.
Update Preview: The component automatically positions the preview in front of the player.
Confirm Placement: When the player presses the build key, call ConfirmBuild() to finalize placement.
Cancel Placement: Call CancelBuild() to discard the preview.
The Manager automatically handles replication and placement validation on the server.
Create a new Blueprint Actor.
Add ACFBuildableEntityComponent.
Add one or more **ACFBuildingSnapPointComponent**s.
Implement ACFBuildableInterface → add Blueprint logic for placement validation and snapping.
Configure AllowedSnapTags and snapping properties.
Done — your new buildable can now snap and build dynamically in the game world.
All placement and snapping operations are server-authoritative. The Building Manager replicates the final actor and ensures consistency across clients.
Preview movement and snapping visualization are client-side only, ensuring responsive feedback without desync.
No need to inherit from a base class.
Any actor can become buildable via the Interface + Component.
Snap Points define modular connection spots.
Everything works in Blueprint.
Fully replicated and multiplayer-ready.
This makes the Ascent Building System ideal for modular base-building, creative tools, or construction-driven gameplay in both singleplayer and multiplayer environments.
This modular design makes the system flexible and fully compatible with custom actor types — from static meshes to skeletal or composite actors.
To make any actor buildable, you only need two steps:
Implement the Interface: Add ACFBuildableInterface to your actor’s class or Blueprint.
Add the Component: Add a ACFBuildableEntityComponent to handle placement logic and snapping.
That’s it — the actor will now be recognized by the system as a buildable object.
The IACFBuildableInterface defines a minimal set of functions that the system calls during construction. These include:
Function | Description |
CanBePlaced() | Returns whether the current preview position is valid. Used to validate terrain, overlaps, and distance. |
OnPlaced() | Called when construction is confirmed. Useful to play build effects or initialize data. |
GetSnapPoints() | Returns all available snap points for this actor. Used by the snapping logic. |
You can implement these directly in Blueprint to define custom behavior per object type.
The UACFBuildableEntityComponent encapsulates all build logic — including snapping, alignment, and placement validation.
It automatically communicates with the Building Manager to:
Detect valid snap points on nearby buildables.
Align preview meshes correctly.
Apply placement validation rules (distance, collisions, terrain check, etc.).
Property | Description |
bAutoAlignToSurface | If true, aligns the object to the surface normal. |
bAllowSnapping | Enables snapping detection and alignment. |
SnapTolerance | Max distance allowed to attach to a snap point. |
bVisualizeSnapPoints | Draws debug gizmos for easier configuration. |
SnapRotationStep | Defines snapping rotation increments (e.g. 45°). |
Snapping is handled by UACFBuildingSnapPointComponent, which can be added to any actor to mark connection spots.