All Projects → CandyCoded → Arfoundation Components

CandyCoded / Arfoundation Components

Licence: mit
📱 Generic components for use with Unity's AR Foundation package

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Arfoundation Components

Xr Unity
8th Wall XR Unity projects and resources. Feel free to contribute!
Stars: ✭ 108 (+151.16%)
Mutual labels:  unity, arkit, arcore
Fritz Examples
A collection of experiences utilizing machine learning models from Fritz AI
Stars: ✭ 181 (+320.93%)
Mutual labels:  unity, arkit, arcore
Arcoreutils
Unity plugin that adds shadow and collision to ARCore.
Stars: ✭ 103 (+139.53%)
Mutual labels:  unity, arcore
Arkit Unity3d
Access ARKit features like world-tracking, live video rendering, plane estimation and updates, hit-testing API, ambient light estimation, and raw point cloud data.
Stars: ✭ 124 (+188.37%)
Mutual labels:  unity, arkit
Arkitexperiments
Quick and dirty experiments with ARKit
Stars: ✭ 142 (+230.23%)
Mutual labels:  unity, arkit
Viro
ViroReact: AR and VR using React Native
Stars: ✭ 1,735 (+3934.88%)
Mutual labels:  arkit, arcore
Webxr Polyfill
A polyfill and example code for building augmented reality (AR) and virtual reality (VR) applications using WebXR.
Stars: ✭ 227 (+427.91%)
Mutual labels:  arkit, arcore
stardust-SDK
Stardust SDK and sample app for Unity
Stars: ✭ 23 (-46.51%)
Mutual labels:  arkit, arcore
HandMR
スマホVR(cardboard)・だんグラ上で、ハンドトラッキングを行うためのUnityアセット
Stars: ✭ 15 (-65.12%)
Mutual labels:  arkit, arcore
wrld-unity-xr-samples
Samples demonstrating how to use the WRLD SDK to build basic XR experiences in Unity
Stars: ✭ 20 (-53.49%)
Mutual labels:  arkit, arcore
Nativescript Ar
Augmented Reality NativeScript plugin
Stars: ✭ 107 (+148.84%)
Mutual labels:  arkit, arcore
Jeelizar
JavaScript object detection lightweight library for augmented reality (WebXR demos included). It uses convolutional neural networks running on the GPU with WebGL.
Stars: ✭ 296 (+588.37%)
Mutual labels:  arkit, arcore
Justaline Ios
The first cross-platform collaborative AR app (for doodling)
Stars: ✭ 98 (+127.91%)
Mutual labels:  arkit, arcore
Invisible Highway
Invisible Highway is an experiment in controlling physical things in the real world by drawing in AR. Simply make a pathway along the floor on your phone and the robot car will follow that path on the actual floor in your room. A custom highway with scenery is generated along the path to make the robots a little more scenic on your phone screen.
Stars: ✭ 118 (+174.42%)
Mutual labels:  unity, arcore
ARMultiuser
this demo use arkit 2.0, realize multiplayer play together! The project refers to the official demo!
Stars: ✭ 30 (-30.23%)
Mutual labels:  arkit, arcore
FlutterAR
No description or website provided.
Stars: ✭ 56 (+30.23%)
Mutual labels:  arkit, arcore
Teapot shooter
Augmented Reality Teapot Shooter made using Unity and ARCore
Stars: ✭ 30 (-30.23%)
Mutual labels:  unity, arcore
Scene View Bookmarks
Unity editor extension to bookmark scene views.
Stars: ✭ 40 (-6.98%)
Mutual labels:  unity
Shadergraph
Unity ShaderGraph project
Stars: ✭ 1,009 (+2246.51%)
Mutual labels:  unity
Expo Three Ar
Utilities for using Expo AR with THREE.js
Stars: ✭ 40 (-6.98%)
Mutual labels:  arkit

ARFoundation Components

📱 Generic components for use with Unity's AR Foundation package

NPM Version

Contents

Installation

https://docs.unity3d.com/Packages/[email protected]/manual/index.html

Unity Package Manager

{
  "dependencies": {
    "xyz.candycoded.arfoundation-components": "https://github.com/CandyCoded/ARFoundation-Components.git#v4.0.0",
    "xyz.candycoded.candycoded": "https://github.com/CandyCoded/CandyCoded.git#v4.0.0",
    ...
  }
}

Scoped UPM Registry

{
  "dependencies": {
    "xyz.candycoded.arfoundation-components": "4.0.0",
    "xyz.candycoded.candycoded": "4.0.0",
    ...
  },
  "scopedRegistries": [
    {
      "name": "candycoded",
      "url": "https://registry.npmjs.com",
      "scopes": ["xyz.candycoded"]
    }
  ]
}

Setup

See https://github.com/CandyCoded/ARFoundation-Components-Demo for a working example of the following steps.

Install Dependencies

  1. Install the latest ARKit XR Plugin, ARCore XR Plugin and AR Foundation (preview) packages from the Package Manager.
  2. Install both the ARFoundation Components and CandyCoded package (see above).

Setup AR Foundation

  1. Create a new AR Session Origin gameObject from the Create Asset / XR context menu.
  2. Select the AR Session Origin gameObject and attach the AR Raycast Manager component.
  3. Remove the Main Camera gameObject from the hierarchy (as the AR Session Origin contains its own camera).
  4. Create a new AR Session gameObject from the Create Asset / XR context menu.
  5. Create a new AR Default Plane gameObject from the Create Asset / XR context menu, drag it into the Asset panel creating a prefab and then remove it from the hierarchy.
  6. Attach the AR Plane Manager component to the AR Session Origin gameObject and drag the AR Default Plane prefab from the Assets panel into the Plane Prefab property.
  7. Change the Detection Flags to Horizontal (or whatever plane type you will target).

Setup ARFoundation Components

  1. Select the AR Camera in the AR Session Origin gameObject and change the Light Estimation Mode on the AR Camera Manager component to AmbientIntensity.
  2. Select the Directional Light gameObject and attach the AR Light Estimation component.
  3. Drag the AR Camera component into the Camera Manager property of the AR Light Estimation component.
  4. Attach the AR Plane Events and AR Place Object On Plane components to the AR Session Origin gameObject.
  5. Create a new Cube and set the scale to Vector3(0.1f, 0.1f, 0.1f), drag it into the Asset panel creating a prefab and then remove it from the hierarchy.
  6. Drag the Cube into the Object to Place property of the AR Place Object On Plane component and enable the option Place Multiple.
  7. Create a new event in the Plane Touched with Touch Position event section of the AR Plane Events component.
  8. Drag the AR Session Origin gameObject into the object field of the event.
  9. Select the ARPlaceObjectOnPlane > PlaceObjectOnPlane dynamic method from the dropdown.

Setup iOS build

  1. Check that the scene is in the Build Settings window.
  2. Change the build platform in the Build Settings window to iOS.
  3. In the XR Plug-in Managment panel, make sure to enable the ARKit plug-in providers.
  4. In the Player Settings panel, make sure following settings are correct:
Setting Value Description
Camera Usage Description AR BABY or any other string This value will display when the dialog asking for camera permission displays on device.
Target minimum iOS Version 11 or higher iOS 11 was the first version ARKit was available.
Architecture ARM64 The only iOS devices that support ARKit are built on ARM64 architecture.

Setup Android build

First follow: https://developers.google.com/ar/develop/unity/android-11-build

  1. Check that the scene is in the Build Settings window.
  2. Change the build platform in the Build Settings window to Android.
  3. In the XR Plug-in Managment panel, make sure to enable the ARCore plug-in providers.
  4. In the Player Settings panel, make sure following settings are correct:
Setting Value Description
Graphic APIs OPENGLs3 and remove Vulcan ARCore does not support Vulcan arcore-android-sdk issue #258
Minimum API level Android 7.0 'Nugget' (API level 24) or higher Android 7 was the first version ARCore was available.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].