Collision Detection and Resolution in Three.js
- by androidmaster
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