Hi,
I have a vr camera with a reticle that i use to select an object hovering in front of some ui. I then raise the object up to indicate you are moving it then i wish to move the object along an x axis to appear above the other items.
However currently the reticle will appear over the other items but the gameObject is always lagging behind. The code I am using is as follows. I get the local position of the gameObjects parent, I then find out how far the camera has moved since the last...
Moving gameObject along a fixed path based on head movement
I have a vr camera with a reticle that i use to select an object hovering in front of some ui. I then raise the object up to indicate you are moving it then i wish to move the object along an x axis to appear above the other items.
However currently the reticle will appear over the other items but the gameObject is always lagging behind. The code I am using is as follows. I get the local position of the gameObjects parent, I then find out how far the camera has moved since the last...
Moving gameObject along a fixed path based on head movement