Log in or register to post comments

How to create cube as virtual button

July 17, 2021 - 8:46am #1

hello!

I want to ask how can the cube be used as a virtual button? I want the cube to function as a button and when pressed it will go to another scene, I use user defined targets. thanks!

How to create cube as virtual button

July 22, 2021 - 4:29am #4

Hello,

I think it should work but it could not be tested in the unity editor play mode, unfortunately. You need to test it on the HoloLens device.

The first point is the test the examples on the HoloLens device to see if you can port it to the device and if it works.

The further steps could  then to change the behavior as intended step by step.

BR

Vuforia Engine Support

How to create cube as virtual button

July 21, 2021 - 2:19pm #3

Hi,

I've tried HoloLens samples Vuforia Hololens but when I run the main menu I can't click to go to another scene. what I want to do is turn this cube into an ar object sorry I'm still confused about how to use it because I'm a beginner at Vuforia.

AttachmentSize
Image icon tesunity.png210.08 KB
Image icon usr.png354.15 KB

How to create cube as virtual button

July 20, 2021 - 4:12am #2

Hi,

possibly you can can check the HoloLens samples Vuforia Hololens 1+2 Sample for Unity 2020.2 and later or Vuforia Hololens 1+2 Sample for Unity 2019.4 LTS  depending on the used Unity version.

You can see there a start menu scene 1-Menu in the folder Assets/SamplesResources/scenes

There we have implementation of the 3d buttons which could be clicked /tap  so to select and open the next scene.

Additionally you can review the post How to call a scene in unity using virtual buttons

BR

Vuforia Engine Support

AttachmentSize
Image icon pic2021-07-20_13-00-47.jpg54.1 KB
Log in or register to post comments