I have two scripts but im unsure hot to get them to communicate together.
I have a cursor that follows the gaze of user.
I have a Player that is controlled by keyboard.
How do I convert this to have the player move towards the cursor or gaze direction?
Cursor Control
Moving player towards Gaze position VR hololens
I have a cursor that follows the gaze of user.
I have a Player that is controlled by keyboard.
How do I convert this to have the player move towards the cursor or gaze direction?
Cursor Control
Code (CSharp):
- {
- private MeshRenderer meshRenderer;
- // Use this for initialization
- {
- // Grab the mesh renderer that's on the same object as this...