Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

189
Views
Problema al intentar hacer girar un modelo .glb después de usar gltfjsx

He usado un convertidor gltf a jsx en Github ( https://github.com/pmndrs/gltfjsx ) para crear componentes JSX de mi modelo. Sin embargo, me cuesta entender cómo ajustar mi model.js para que el modelo gire automáticamente sobre su eje. ¿Podría alguien ayudarme con esto?

 import React, { useRef } from 'react' import { useGLTF } from '@react-three/drei' export default function Model({ ...props }) { const group = useRef() const { nodes, materials } = useGLTF('/model.glb') return ( <group ref={group} {...props} dispose={null}> <group position={[-0.0, -0.3, -1]} rotation={[-Math.PI / 2, 0, 2.7]} scale={0.58}> <mesh geometry={nodes.boot_0.geometry} material={nodes.boot_0.material} /> <mesh geometry={nodes.boot001_0.geometry} material={nodes.boot001_0.material} /> <mesh geometry={nodes.boot002_0.geometry} material={nodes.boot002_0.material} /> <mesh geometry={nodes.boot003_0.geometry} </group> </group> <group position={[-0.02, -0.01, 0.06]} rotation={[-Math.PI / 2, 0, 0]} scale={0.58}/> </group> ) } useGLTF.preload('/model.glb')

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!