Collision Detection and Resolution in Three.js

Posted by androidmaster on Game Development See other posts from Game Development or by androidmaster
Published on 2014-05-28T22:30:20Z Indexed on 2014/05/29 4:04 UTC
Read the original article Hit count: 417

So at the moment am making a simple game using three.js and three.firstpersonControls.js but with the current Three.js r66, they apparently removed checkWallCollision and then in the r67 firstpersonControls removed support for that collision. SO my question is how would i go about checking collision in 3D using three.js and then resolution to that collision. (Pushing player out of the block)

Note I used a 2D array to generate the world so it's only cubes that I have to check collision with....

if this is a bad question or am lacking something please tell me before you -rep me, am just not sure how to do this and google doesn't want to help

© Game Development or respective owner

Related posts about collision-detection

Related posts about JavaScript