Skip to content

Unity AR Scene

fabo-0 edited this page Jul 12, 2024 · 2 revisions

Unity AR Scene:

Our first question is: "which objects are needed in our Unity scene for AR?"

Installed packages:

-> See here: https://github.com/cgtuebingen/spatial_xr/wiki/Projekteinstellungen-in-Unity

List of needed Objects:

  • XR Origin(XR Rig) -> This contains an AR Camera Manager, for which the tracking mode should be set to "device". The subcomponent of the camera should get a background type solid color with full transparency.
  • AR Session -> In here the components "AR Input Manager" and "AR Session" need to be added.
  • XR Interaction Manager -> For now we only require an XR Interaction Manager.

Scene

With this we have a Unity scene with passthrough. For testing the app has to be loaded into the VR Goggles. Controller- and handtracking are not yet included.