Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I separate rendering from physics? #41

Open
huanhunx opened this issue Dec 4, 2024 · 1 comment
Open

How can I separate rendering from physics? #41

huanhunx opened this issue Dec 4, 2024 · 1 comment

Comments

@huanhunx
Copy link

huanhunx commented Dec 4, 2024

We have developed some proprietary Three.js tools, such as encapsulating GLTFLoader when loading GLB files to simplify usage and apply some default settings. I would like to load a model using our custom GLTFLoader and add this model to the physics world. How can I achieve this?

@lo-th
Copy link
Owner

lo-th commented Dec 4, 2024

you can add any model
best methode is use generique geometry and add your mesh
or use compound ( multiple basic object )
or you can add a simplified convex shape to your object and create a convex mesh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants