SceneKit - Adding a pinpoint on a sphere

How do I add a point or marker on a 3D sphere that I can click on to reveal a pop-up?


Thanks

Replies

Hello,


In general what you want to do is add your "marker" as a child node of your sphere, positioned on the outside of your sphere. Then you will want to perform a hit test on your scene. Check the results of the hit test to see if your marker was hit first. If so, then you would reveal your pop-up.