-
-
Notifications
You must be signed in to change notification settings - Fork 44
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 to load custom glb model using phy engine? #38
Comments
Hi do you try with native three loader ? you can use the loader of three if is work and use your model in phy. |
Thank you for your kind support. When I use ThreeJS's default loader, there wasn't any problem |
you can use any model you want
don't set material:'Clock' if you want keep original material of your model |
I am making a web app using ThreeJS and React
It's very similar with the museum example of phy
I implemented almost of functionalities using Phy
However I encountered in issue to load custom museum model
phy.load(
'dices.glb',
onComplete
)
phy.load(
['dices.glb', 'yo.jpg'],
onComplete
)
This code are wrotten at the Phy engine guide
https://lo-th.github.io/phy/docs/index.html#manual/phy-load
But this code doesn't works in my project
I will share my main code:
The text was updated successfully, but these errors were encountered: