remove as many transforms as possible, render Z-up axes

This commit is contained in:
Brian Beck 2025-11-25 16:56:54 -08:00
parent b2404a90af
commit 60a46e708b
424 changed files with 383 additions and 256882 deletions

View file

@ -104,7 +104,7 @@ export function ShapeModel() {
}, [nodes, hullBoneIndices]);
return (
<>
<group rotation={[0, Math.PI / 2, 0]}>
{processedNodes.map(({ node, geometry }) => (
<mesh key={node.id} geometry={geometry} castShadow receiveShadow>
{node.material ? (
@ -134,6 +134,6 @@ export function ShapeModel() {
</mesh>
))}
{debugMode ? <FloatingLabel>{shapeName}</FloatingLabel> : null}
</>
</group>
);
}