Hi!
I am stuck on this thing with teleportation in Unity VR.
I want to make the player able to be moving ONLY using Teleport, and ONLY when he aims the pointer at the specific object and presses the trigger on the HTC Vive controller. Only after the player collects one object, the next object is spawned at the next spawn point.
Now I have a visible pointer coming out of the controller, and I have a script checking whether the player is aiming at the object or not.
I think I know what I have to do: get the position of the object the player is aiming at, pass this position to the current player’s position, and translate the current player’s position. But, still being a noob when it comes to scripting, I got confused with how exactly do I put this in C# now Should I do this in the PlayerController script, or in the VRController script?