Trying to put multiple markers on a globe and have them rotate around the globe. Most examples I’ve seen utilize Orbit Controls but due to the nature of the project I’m better off using a different control method that transforms the 3D object, not the scene. Only problem is the markers aren’t sticking to the object anymore. I’ve made them a child of a container object that holds the globe and the markers, but the markers just rotate by themselves. Any help would be appreciated! The markers are board objects with pic attached (pic not featured in codepen example).
I just wanted to revisit to and update my progress and ask another question. If you refer to the updated codepen below (I caved and got a pro account so I can upload images), the marker is successfully added to the rotating globe. I’m using ObjectControls.js which is a wonderful solution to drag rotation w/out using orbit controls, which allows a lot of benefits such as global lighting vs. baked-on-the-object.
I’ve googled my heart out but I’m just too much of a noob to solve this: how do I use raycaster to make my marker sprite clickable? Basically when clicked I want to either bring the user to an external website or have some other element pop up onscreen. But first I just need to get the sprite clickable in some fashion. Any help would be greatly, greatly appreciated.
Nevermind, figured it out! I should probably give myself more time before posting noob questions! I’m using this handy fiddle as a blueprint for raycasting my marker.