Skip to content

RuthySheffi/threejs-ammojs-webpack-example

 
 

Repository files navigation

Three.js & ammo.js (enable3d)

Example of Three.js with ammo.js

  • Contains a CSG Example with BufferGeometries.
  • Contains the Flat Package for 2D Elements.

Standalone Enable3d framework

  • The three.ts file contains a three.js project with Enable3d's Physics Extension.
  • The standalone.ts file contains a Standalone Enable3d project.
    Comment/UnComment whatever scene you want to run in index.ts.

Install & Run

# download this repo
npx gitget enable3d/threejs-ammojs-webpack-example enable3d-webpack

# navigate into the directory
cd enable3d-webpack

# install
npm install

# start
npm start

Dependencies

The only dependency is enable3d. All other dependencies (three.js etc.), are installed with enable3d.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.3%
  • JavaScript 9.9%
  • HTML 4.8%