-
-
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 import phy into another project #14
Comments
I can use Phy.module.js in an external project however that only exports "phy" (Motor). It doesn't contain all the extra stuff used within the demos such that under src/3TH/ I'd like to have my own application starting point in a separate project, similar to phy/src/Main.js which can make use of the classes from 3TH/ etc Is that your intention for how the engine can be used? |
yes i have to think how organize that well |
There is a circular dependency between Main.js <--> /3TH/Hub.js |
is fixed and i add main build |
Phy should be just as a lib for using any physics engine and leaving the rendering code in another game engine project. It would be more organized. |
Is there an example template project that demonstrates importing phy and using it in another project?
Using rollup or vite
The text was updated successfully, but these errors were encountered: