Currently, I am utilizing a raycaster to detect if the mouse (or touch) hits a mesh. The object is slender and I would like to enlarge the size of whatever can be intersected by the Ray. While working with game objects in three.js, is there a way for me to insert my own collision mesh that does not render but still activates the Ray?
https://i.sstatic.net/Aad1V.jpg
For instance, when the ray collides with an (invisible) pink cylinder linked to the original mesh, it triggers the intersection.
Simply creating another mesh grouped with the original one and setting visibility to false or opacity to 0 does not produce the desired result. I am searching for a more integrated solution, if available.
Thank you in advance!