Drawing Box and Sphere Cannon-ES Colliders with WebGL and TypeScript

Published August 05, 2022
Advertisement

The CannonDebugger class I got here: https://github.com/pmndrs/cannon-es/issues/152#issuecomment-1202788163

Instruction:

  • Install globally: `npm i -g typescipt parcel browserify uglify-js http-server`
  • Install locally: `npm i`
  • Run parcel for debug mode: `npm run dev`
  • Run http-server without caching: `http-server -c-1`
  • Go to browser and type: `localhost:8080`
  • Run this command to make the release bundle: `npm run release`

1 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement