CheT
KPCKevin Powell - Community
•Created by CheT on 3/12/2024 in #front-end
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🥹
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🥹
2 replies
KPCKevin Powell - Community
•Created by CheT on 3/1/2024 in #front-end
image not loading on vercel deployment
I m using react + vite , and the issue is that the destination page images r visible on my local host but when I deployed code on vercel the images don't load , I think it's a pathing issue but I m not sure what to do .
Deployment: https://chet-space-tourism.vercel.app/
And the GitHub for repo is : https://github.com/Chet25/spaceTourism
;-;
29 replies