From f7d0b17be877a6b1f0e3928560e5190b7c34e14a Mon Sep 17 00:00:00 2001 From: Joshua Deville Date: Wed, 8 Jul 2026 21:02:19 -0400 Subject: [PATCH] Add build-mode toggle and grid-snap raycast on BP_PlayerCharacter B key toggles bBuildMode. While active, Tick line-traces from the character's eye height along its forward vector, breaks the hit result, and snaps the impact point to a 200-unit grid via Vector_SnappedToGrid, storing the result in SnappedLocation. No visual feedback or placement yet (next: ghost preview, then place/remove). Uses BreakHitResult (a multi-output-pin CallFunction on GameplayStatics) to extract struct fields, since a dedicated "BreakStruct" node type isn't supported by this tool -- works fine as a plain function call. --- Content/Blueprints/BP_PlayerCharacter.uasset | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content/Blueprints/BP_PlayerCharacter.uasset b/Content/Blueprints/BP_PlayerCharacter.uasset index 496908c..e4dd2d5 100644 --- a/Content/Blueprints/BP_PlayerCharacter.uasset +++ b/Content/Blueprints/BP_PlayerCharacter.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:060ae5655c1746cff6e346578878735125673583498ae145009eb308ed2491b4 -size 149946 +oid sha256:004219df7bcd082e718cb9d12d48a7297086c1ea7d4d37d40a7d3fe65a558bae +size 202314