How do I make a mesh with an EdgesGeometry always on top but still make the outline behind the mesh hidden?
How to make the box on the right? I used depthTest false on the box and its outline to make it always on top of other mesh but the outline is now ignoring the box depth.
Decals not working with instanced meshes, in Three.js
Been dabbling around with decals for a while. While it works like a charm with normal meshes, it doesn’t work with instanced meshes. How can I make it work with an instanced mesh? Does it require modifications to the source code?
Decal geometry not appearing on instancedmesh in Three.js
I have an instanced mesh set up in Three.js as follows:
Why can’t my Box3 bounding box detect an intersect between my GLTF/FBX models?
I’m new to ThreeJS so I don’t know if the Box3 is commonly used for collision detection.
I’ve attached a Box3 bounding box to detect collision and prevent the character from walking into the bounding box of the building. When I drew out a helper line, I can clearly see that the bounding boxes are there. But when my character walks into the building and the two bounding boxes intersect, it doesn’t seem to console log out the intersects.