Skip to content

Check a moving door’s closed footprint against carried meshes

Section titled “Check a moving door’s closed footprint against carried meshes”
  • Status: current.
  • Engine: ue6-main 61e2877e, Linux x86_64, Epic clang 23.1.5 (v27 SDK).
  • Context: Standalone UE6, C++ moving mesh with a BPVerse interaction override.
  • Prerequisites: A movable door with collision disabled when open and carried visual meshes with collision disabled while held.

Coop Zero’s first Linux Development fixture moved the farmer to the open doorway and pressed interact. It logged INTERACT BunkerDoor followed by DOOR_CLOSED with the farmer at the centre of the slab. The door queried cached mesh bounds and the actor-level aggregate bounding box.

Use the Coop Zero slice’s original Step 10 package with -nullrhi -UseFixedTimeStep -FPS=120. While the door is open, switch the farm clock to coop.timescale 0, move the farmer with BugItGo 357 -186 95 0 0 0, and issue coop.interact. The capsule overlaps the volume where the door closes. The first fixture log is Saved/step10-proof.cfLIpB/closed.log.

Before lifting the door, calculate its closed footprint from StationMesh->CalcBounds(StationMesh->GetComponentTransform()).GetBox(). When asked to close, calculate the farmer’s capsule box from its current transform. Do the same for each bird’s active visual and the item mesh. Refuse an intersection and let the Verse rule call the native shake.

The test uses the shape at the door’s closed pose and current transforms for the obstructions. The capsule is the farmer’s physical footprint. An explicit item-mesh test includes carried objects even when their collision is disabled.

  • Evidence level: runs in editor.
  • How: bash Saved/step10-bounds-lane.sh moved the farmer first into the slab and then outside the slab with a scoop extending into it. Both presses logged DOOR_REFUSED occupied=1. The reported mesh offset during the shake was (X=0.000000,Y=3.260531,Z=220.000000). A clear doorway logged DOOR_CLOSED.
  • Evidence level: runs in packaged build.
  • How: After BuildCookRun, bash Scripts/prove_night_save.sh logged DOOR_REFUSED occupied=1 for both obstructions and DOOR_CLOSED with the doorway clear in Saved/step10-proof.e5jQ8v/closed.log. Coop Zero commit 155ed14 records the commands.
  • Date / by: 2026-11-25, Coop Zero Step 10.

The slice uses an axis-aligned door and box intersections. The fixture does not isolate which cached box caused the first failure. The test covers positions set through the Development console.