This commit is contained in:
Aria Minaei 2021-07-16 09:58:48 +02:00
parent 2dd4900940
commit ea66855e01

View file

@ -17,7 +17,6 @@ title: Space exploration [WLP series #8]
*/ */
function Model({url}: {url: string}) { function Model({url}: {url: string}) {
const {nodes} = useGLTF(url) as any const {nodes} = useGLTF(url) as any
console.log(nodes)
return ( return (
<group rotation={[-Math.PI / 2, 0, 0]} position={[0, -7, 0]} scale={7}> <group rotation={[-Math.PI / 2, 0, 0]} position={[0, -7, 0]} scale={7}>