From 92a51a8273d0e883192a344391a5233687a84377 Mon Sep 17 00:00:00 2001 From: Dylan Navajas Gluck Date: Thu, 24 Sep 2026 20:56:55 -0400 Subject: [PATCH] Register embedded RWCM clusters with matching ID -1 Native static registration uses matchingID -1; the RWCM unit group only splits clusters. Using the group filtered static-world line queries for actors whose query ID differed from it. --- crates/skate-game/src/skate_world.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/skate-game/src/skate_world.rs b/crates/skate-game/src/skate_world.rs index 0afa8451..0a0ab379 100644 --- a/crates/skate-game/src/skate_world.rs +++ b/crates/skate-game/src/skate_world.rs @@ -473,7 +473,9 @@ fn retail_collision_world( local_to_world: RetailAffineTransform::IDENTITY, world_to_local: RetailAffineTransform::IDENTITY, local_bounds: bounds, - matching_group: i32::from(group), + // Native static registration uses matchingID -1; the unit group + // only splits clusters and must not filter actor queries. + matching_group: -1, pool: QueryPool::Ground, }); }