Accumulated transformations and collision detection in Three.js

Click the image for the demo.

This was for a college assignment, which was to create a game using Three.js.
We only had 1-2 weeks to work on this, so there are some bugs and the gameplay isn’t anywhere near being complete. ┬áIt’s more of a demo of how to use accumulated transformations in Three.js.

We implemented our own collision detection and created a character from primitives with movable parts. The physics isn’t perfect, nor physically correct, and it has some bugs. We might fix some of them if requested and we have the time to spare. WASD to move, space to jump.

Warning: Only tested in Chrome 64 on PC. It’s buggy in Firefox, and in Chrome for mobile devices.


Leave a Reply