Add ghost preview block for build mode

BuildGhost: a pre-placed cube actor (not runtime-spawned, to avoid
the SpawnActor Class-pin problem for this piece) referenced via
GhostBlockRef. Shown and moved to SnappedLocation each tick while
bBuildMode is on; hidden otherwise. Collision left enabled on the
ghost (couldn't find the right property path to disable it through
this tool -- BodyInstance.CollisionEnabled isn't a flat property);
minor known edge case where the raycast could self-hit the ghost,
not addressed yet.
This commit is contained in:
Joshua Deville
2026-07-08 21:04:50 -04:00
parent f7d0b17be8
commit 58794dbd25
2 changed files with 4 additions and 4 deletions

BIN
Content/Maps/L_TestFlight.umap (Stored with Git LFS)

Binary file not shown.