👋
NRSDK(Old)
v1.10.2
v1.10.2
  • NRSDK Fundamentals
    • NRSDK Overview
    • XREAL Devices
      • XREAL Glasses
      • Controller
      • Compatibility
    • Getting Started with NRSDK
    • Sample Code
    • Tutorials
    • Release Note
      • NRSDK 1.10.2
      • NRSDK 1.9.5
      • NRSDK 1.9.3
      • NRSDK 1.9.1
      • NRSDK 1.8.0
      • NRSDK 1.7.0
      • NRSDK 1.6.0
  • Development
    • Input and Camera
      • NRInput
      • Interact with Unity UI (Tutorial)
      • Customize Controller UI
      • NRCameraRig
    • Hand Tracking
    • Image Tracking
    • Plane Detection (Tutorial)
      • Overview
      • Import the package
      • Detect planes in the real world
      • Perform a hit test against detected planes
      • Add a car
      • Add gems
      • Wrap up
    • Depth Mesh
      • Meshing Manager Overview
      • Use Meshes in the Editor
      • Tutorial: Mesh Collision
    • Tools
      • First Person View
      • Emulator
      • Notification popup
      • Reset Camera
    • MRTK Integration
  • Advanced
    • Access RGB Camera
    • NRSDK Coordinate Systems
  • XR Streaming
  • Frequently Asked Questions
Powered by GitBook
On this page
  • What you'll build
  • What you'll learn
  • What you'll need

Was this helpful?

  1. Development
  2. Plane Detection (Tutorial)

Overview

PreviousPlane Detection (Tutorial)NextImport the package

Last updated 1 year ago

Was this helpful?

What you'll build

In this codelab, you'll build a simple game using NRSDK. The goal of the game is to collect gem using a vehicle that you control using your controller.

However, this won't happen in an entirely virtual world! You'll mix physical atoms and digital bits to create a new type of player experience by creating a game that understands the environment around the player.

By the end of this tutorial, your game will be able to:

  • Detect real-world planes and draw a playing field over it.

  • Cast rays from controller and detect intersections with planes.

What you'll learn

  • How to set up a project that uses NRSDK

  • How to use PlaneDetectorto subscribe to new planes.

  • How to use Raycast to find intersections with virtual geometry

What you'll need

Please refer to Step 1 to Step 5 in to get your environment ready for development.

Getting Started with NRSDK