How to realize Locator3D effect?

I want to use the locator in MMA to reproduce the following animation:

enter image description here

But MMA’s function Locator doesn’t support 3D coordinates. What can I do to reproduce this animation?