Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

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

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

8Observer8
8Observer8
My OpenGL and WebGL Examples · · 1 min read
6,864 0

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`


Discussion

Loading comments...