Testing collision detection between 2D and 3D objects in a browser-based game using the three.js Library