Player collision system
09/02/2019
Three.js is a javascript library designed to assist developers in programming 3D web graphics. This experiment is a little game engine that features keyboard controls, wall and floor obstacles that the player may collide with, and multiple, iterable camera angles. A large credit goes to Stemkoski, for his raycaster-based hit detection solution, which this is a development of. For readers desiring an explanation as to how this was made, refer to this article. For the source code, you can use the "Visit app" link above, and view the page source, as the code is not compressed or minified in any way, and is designed to be read as an example. Note: ThreeJS has disabled some input gestures - you may need to use your browser GUI menu to open developer tools.
Comments (0)