Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Setting a markup/flag with the controller

Discussion in 'VR' started by KenniKure, Aug 14, 2019.

  1. KenniKure

    KenniKure

    Joined:
    Aug 7, 2019
    Posts:
    39
    Hi

    I have made a teleporter in Unity VR. I can use the thumbstick on both controllers to move, but I use the teleport option by pressing and releasing the right trigger button.

    But is it possible to use the left controller and one of the buttons there to for example plant a flag/markup in VR? I have already created a flag, but is the a way to point at a place with a laser and trigger a button on the left controller and then plant the flag there?

    Im guessing I need to create a new gameobject inside the ovrplayercontroller, and maybe add teleport aimm visual laser, and teleport aim handler laser?
     
unityunity