From f19ab7036f6b89f8292c92d1cdbebad4698514af Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Thu, 20 Feb 2025 10:57:20 +0000 Subject: [PATCH] Fix b2World_OverlapCapsule incorrect reference to center --- src/world_c.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world_c.js b/src/world_c.js index 91111be..d4fd9b5 100644 --- a/src/world_c.js +++ b/src/world_c.js @@ -2426,7 +2426,7 @@ export function b2World_OverlapCapsule(worldId, capsule, transform, filter, fcn, worldContext.world = world; worldContext.fcn = fcn; worldContext.filter = filter; - worldContext.proxy = b2MakeProxy(capsule.center, 2, capsule.radius); + worldContext.proxy = b2MakeProxy(capsule.center1, 2, capsule.radius); worldContext.transform = transform; worldContext.userContext = context;