need help with model positioning in three fiber

i have been trying to add 3d planet/moon models in my project and i want them to rotate like a planet around its axis , in my project they seem to rotate around a point instead and i have spent hours trying to magic number them , the mars was fluke it worked but i have 3 more and idk what to do ,
i m using react - three/fiber and three/drei , the models from sketchfab github link : https://github.com/Chet25/spaceTourism/blob/planets/src/components/Destination.jsx this is the link to the page , if someone knows about this help me , i m loosing brain cells over this🥹
GitHub
spaceTourism/src/components/Destination.jsx at planets · Chet25/spa...
Contribute to Chet25/spaceTourism development by creating an account on GitHub.
1 Reply
CheT
CheTOP•9mo ago
u would actually have to change the component name in canvas to change planets
Want results from more Discord servers?
Add your server