Skip to content

vedrankolac/parcel-threejs-ammo-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parcel-threejs-ammo-boilerplate

Boilerplate for a fast start with physics in three.js

Quick start

npm i
npm run copy-assets-to-dist
npm start

How to Ammo with Parcel

To use Ammo successfully, be sure to have the library (https://github.com/kripken/ammo.js/tree/main/builds) in your assets folder. Use the commands below to use the version of library from the project assets folder.

# to copy assets to dist
npm run copy-assets-to-dist

# to copy assets to build
npm run copy-assets-to-build

GitHub Page

https://birdlaketree.github.io/parcel-threejs-ammo-boilerplate/

How to deploy for github pages

rm -r build
npm run build
npm run copy-assets-to-build
npm run deploy

Releases

No releases published

Packages

No packages published