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.
This commit is contained in:
Joshua Deville
2026-07-08 21:02:19 -04:00
parent 8ac602168d
commit f7d0b17be8

Binary file not shown.