namedotget / NFT-Metaverse

Metaverse for artists
https://nft-verse.netlify.app
1 stars 0 forks source link

Camera collision #2

Open KartikTheCoder opened 1 year ago

KartikTheCoder commented 1 year ago

I am using below code, currently camera collision is not here, how i can achive so that camera will not go outside of a mesh. https://github.com/colinmfoster4723/NFT-Metaverse/blob/main/components/world/prefabs/Player.jsx

namedotget commented 1 year ago

https://github.com/colinmfoster4723/theVisualEndeavorNextJs/blob/master/fiber/Player.jsx

Try using this one instead