character collider dimensions

This commit is contained in:
2025-11-09 09:05:35 +02:00
parent 5c5c45938b
commit 9bb588e47e
2 changed files with 8 additions and 3 deletions
@@ -145,7 +145,7 @@ class MazeObject {
roughness: 0, metalness:1, color: 0x00ffff, side: DoubleSide
}))
floor.rotation.set(Math.PI/2, 0, 0)
floor.position.set((bbox.l + bbox.r)/2, 0.3, bbox.f/2);
floor.position.set((bbox.l + bbox.r)/2, 0, bbox.f/2);
root.add(floor);
}
}