You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
8Observer8
changed the title
Ammo.js and Browserify. Using Ammo.js on server side. Ammo.js as NPM package
Ammo.js as NPM package for server side and for client side using Browserify
Dec 21, 2020
I found a solution how to use Ammo.js with Browserify:
npm install kripken/ammo.js
main.js
For example you have this project structure:
public/index.html
public/js
src/client/main.js
src/server
Install Browserify and UglifyJS globally:
npm i browserify uglify-js -g
You can add this commands in package.json for release and debug modes:
bundle.js and bundle.min.js will be generated. Comment/Uncomment recently lines in index.html for debug and release:
The text was updated successfully, but these errors were encountered: