I want to be able to create a script that when I look at an object the player moves to the location of that object.
I really want to start learning C# so that I am able to create my own scripts. But I would particularly like to be able to do this now so some help would be appreciated. I am doing this as a mobile VR app for Google cardboard. Similar to Google earth I want to be able to create a script that I can attach to an object that when I look at that object for two seconds the player moves to that location. If anybody could give me similar scripts to look at or a script that does this I would appreciate it massively. Thanks in advance.
Your answer
Follow this Question
Related Questions
Pickup Objects with Google Daydream Controller 1 Answer
Can I create a script that when I target an object the player then teleports? 0 Answers
VR Game - No Headset Required - Please Test my Game 0 Answers
How to detect a tap or up, down, left, right swipe for Gear VR? 3 Answers
Why do objects clip through eachother in VR (XR)? (Oculus quest 2) 0 Answers