Move an object after grabbing in orbital motion to Camera

103 Views Asked by At

I am trying to make a day night cycle in which Sun/Moon in front of the Camera and its grab able but only moves in orbit around the steam VR camera rig.

I am able to make that object grab able using VRTK (its a toolkit for vive) but how can i move it like as if it is orbiting the camera rig and dose not deviate from orbital path. I have no idea where to start it, honestly i have tried nothing because i do not know where to start it or how can i be able to do this help needed... thanks.

1

There are 1 best solutions below

3
On

You have several options if you search online, here is an example that could help you out.
And here are some more ideas.
Referenced from here.