Link

Learn how the AR Controller demo scene works

AR Controller beta release 0.7.0 (2022-06-25)

Table of contents

  1. Instructions for using AR Controller in the Unity Editor

Instructions for using AR Controller in the Unity Editor

For more detailed information about the AR Controller showcase scene, see here.

  1. Open the showcase scene (/Packages/AR Controller Beta SDK/Demo/AR Controller Showcase/AR ControllerShowcase.unity)

  2. Press Play to run the scene (the Play button should remain depressed and glow blue)

  3. Move your mouse over the Game view to begin interacting with the scene using the AR Controller Emulator - use left-click (and hold) to interact using AR Controller; use right-click and drag (with W, A, S, D keys) to move the camera around

  4. Open the AR Controller dropdown menu by clicking the hamburger icon in the top-right corner of the Game view - this is where you can connect to AR Controller on Mac and mobile devices only - if connecting on Windows, see the pairing instructions here.

  5. If using Unity on Mac, wait for your AR Controller device name to appear on the list in the Game view. Ensure Bluetooth is enabled on your computer and that your AR Controller device is charged. This may take a short while the first time you run the scene

  6. In the Game view, connect to your AR Controller device by clicking its corresponding “Connect” button - the button will update to say it is “Connecting…” - wait briefly while the connection is established

  7. Calibrate your AR Controller with the Unity Editor:

    Calibrate in Game view:

    1. Swipe through the AR Controller dropdown menu to the AR Controller device details tab (look for a picture of an AR Controller at the top)
    2. Make sure you are wearing AR Controller in the correct grip (configured by your app on the device details screen; default is Point grip)
    3. Point in an arbitrary direction (e.g. towards your screen) to use as ‘forwards’ whilst testing your app
    4. Click the Calibrate AR Controller button

    Calibrate using the Unity menu:

    Calibrate using the AR Controller menu

    1. Make sure you are wearing AR Controller in the correct grip (configured by your app; default is Point grip)
    2. Point in an arbitrary direction (e.g. towards your screen) to use as ‘forwards’ whilst testing your app
    3. In the Unity Editor menu bar press AR Controller -> Calibrate
  8. You should now be able to see the laser pointer protruding from the ARController object, which should be tracking your real-world AR Controller position and orientation relative to the ARCamera object

  9. By pointing at the cube in the game world, and touching and holding the touchpad on the bottom of your AR Controller, you should be able to manipulate the cube in 3D space. Whilst holding in Point grip, twist your wrist left and right to move the cube along the axis of the pointer

  10. When finished, click the Play button again to stop the scene (the Play button should return to its unpressed state)