Merge branch 'develop' into feat/repair-game

This commit is contained in:
Tom Boullay
2026-05-11 17:31:14 +02:00
48 changed files with 5816 additions and 35 deletions
+3 -1
View File
@@ -27,6 +27,7 @@ interface ResolvedGameMapCollisionNode {
}
interface GameMapCollisionProps {
buildOctree?: boolean;
mapReady: boolean;
nodes: readonly GameMapCollisionNode[];
onLoaded?: (() => void) | undefined;
@@ -92,6 +93,7 @@ function isCollisionNode(
}
export function GameMapCollision({
buildOctree = true,
mapReady,
nodes,
onLoaded,
@@ -129,7 +131,7 @@ export function GameMapCollision({
groupRef,
handleOctreeReady,
collisionReady ? collisionNodes.length : 0,
collisionReady && collisionNodes.length > 0,
buildOctree && collisionReady && collisionNodes.length > 0,
);
useEffect(() => {