AR Foundation Plane Tracking - Hiding Tracked Planes - Unity Augmented Reality/AR

  Рет қаралды 12,030

Dev Enabled

Dev Enabled

Күн бұрын

Consider supporting the channel on Patreon: / devenabled
Unity AR:
This playlist is a collection of tutorials covering Augmented Reality in Unity including ARCore, ARKit features with the use of Unity ARFoundation as well as the Vuforia plugin.
This Video:
In this video, we take a look back at the plane tracking functionality and see how we can hide and show the tracked planes as well as looking at how the PlaneManager works.
Links:
Download projects from any complete tutorial series and more: mega.nz/#F!imQGFKgR!O0wu4xrnl...
Start of Unity AR Playlist: • Augmented Reality Play...
Unity Intro to AR: unity3d.com/how-to/create-AR-...
Android Device Install: docs.unity3d.com/Manual/andro...
Vuforia SDK developer.vuforia.com/downloa...
ARFoundation Git: github.com/Unity-Technologies...
Voxel Asset Downloaded here: maxparata.itch.io/voxel-space...
Get a FREE Pluralsight trial and support the channel: pluralsight.pxf.io/DevEnabled
My First Pluralsight Course: pluralsight.pxf.io/UnrealBlue...
My Second Pluralsight Course: pluralsight.pxf.io/UnrealCPPI...
My Third Pluralsight Course: pluralsight.pxf.io/UnrealFund...
Check out my Website: devenabled.com/
Twitter: / robbcreates
RECOMMENDED READING - Game Theory Books -
Theory of Fun for Game Design: amzn.to/2Y7a29z (Personal Favourite)
Game Feel: A Game Designer's Guide to Virtual Sensation: amzn.to/3159Dl5 (Another read I couldn't put down)
Level Up! The Guide to Great Video Game Design: amzn.to/2MkxcC8
The Art of Game Design, Second Edition: amzn.to/2JY6EVz
Rules of Play: Game Design Fundamentals: amzn.to/2YcfsA7
Game Programming Patterns: amzn.to/2YbXnC2
Drawing Basics and Video Game Art: amzn.to/2Ml6FVb
Sound Effects (BFXR): www.bfxr.net/
Get Affinity Designer: affinity.serif.com/en-gb/
Get Unreal: www.unrealengine.com/
Get Some great free assets here: www.gamedevmarket.net/ Gamedev.tv Courses - Affiliate Links:
Unreal C++ Developer: www.gamedev.tv/p/unreal-engin...
Unreal Multiplayer: www.gamedev.tv/p/unrealmultip...
Unreal Blueprints: www.gamedev.tv/p/unreal-bluep...
Blender Characters: www.gamedev.tv/p/blender-char...

Пікірлер: 12
@DevEnabled
@DevEnabled 4 жыл бұрын
In this video, we take a look back at the plane tracking functionality and see how we can hide and show the tracked planes as well as looking at how the PlaneManager works.
@ZacharyAghaizu
@ZacharyAghaizu 3 жыл бұрын
Great series thank you! Very interested in the fade you spoke about
@key9582
@key9582 4 жыл бұрын
Thanks for these videos, seemed other videos and forum threads have been going out of date too fast since the XR changes, Good to get back into it.
@mohammadrasoulfard-habibi3066
@mohammadrasoulfard-habibi3066 4 жыл бұрын
I know right. Pain in the arse
@fareedtahir9665
@fareedtahir9665 2 жыл бұрын
nice
@inzert3d933
@inzert3d933 4 жыл бұрын
Thanks a lot for the video! How would you do the same (enable/disable) for image tracking? I watched your 2 video's on that and searched the internet but it seems to be that AR foundation on Android doesn't loose tracking when the image marker is outside the view. Do you know how to solve this? Would love to see a video tutorial on this one, thanks!
@wesnguyen1331
@wesnguyen1331 4 жыл бұрын
Hey, question! How would I go about indicating to the user the largest square they can have within the detected plane (also hoping to have the user be able to scale this)? And is it possible to find out how big the detected plane is, so that once I place the square and the prefab goes away, that the user would be able to not expand the square any larger than the previous detected plane?
@hoanoannguyen7936
@hoanoannguyen7936 3 жыл бұрын
Great video. I have a question, is it possible to save the tracked plane? like when tracking planes around me, I want to save the plane that has been tracked so when I reopen the app, it will load those tracked planes. I'm new to AR so I don't know if this is a silly question or not. I hope there a tutorial for that, thanks!
@bighti33947
@bighti33947 4 жыл бұрын
is it possible to toggle visibility of a certain prefab
@DevEnabled
@DevEnabled 4 жыл бұрын
Yep, any prefabs we're spawning here are still just standard Unity GameObjects so anything you can do with them in a standard project you can do in an AR project. How you go about that though is only as complicated as you want your project to be. You could include a single toggle button that toggles the most recently placed object, this just means you'd need to track a reference to the objects you place. Alternatively, you could allow the user to touch the prefab they want to toggle. Or create some form of dynamic UI system that lists all placed objects and allow you to select from them and toggle them. It will all come down to using the standard unity SetActive(false/true) though.
@GeospatialTechnologies
@GeospatialTechnologies 3 жыл бұрын
Please, I am trying to build an AR app using Unity. I have ten images and ten URL links to websites; I need to link the ten images with those ten URL links. Simply, when I scan the image with the phone's camera, I want the URL to open directly. Could you help me by sending to me such as a tutorial, video or code to follow it? Thanks in advance!
@HausCoding
@HausCoding Жыл бұрын
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.XR.ARFoundation; [RequireComponent(typeof(ARPlaneManager))] public class PlaneDetectionToggle : MonoBehaviour { private ARPlaneManager planeManager; [SerializeField] private Text toggleButtonText; void Awake() { planeManager = GetComponent(); } public void TogglePlaneDetection() { planeManager.enabled = !planeManager.enabled; string toggleButtonMessage = ""; if (planeManager.enabled) { toggleButtonMessage = "Disable"; SetAllPlanesActive(true); } else { toggleButtonMessage = "Enable"; SetAllPlanesActive(false); } toggleButtonText.text = toggleButtonMessage; } private void SetAllPlanesActive(bool value) { foreach (var plane in planeManager.trackables) { plane.gameObject.SetActive(value); } } }
AR Foundation Image Tracking - Unity Augmented Reality/AR
7:48
Dev Enabled
Рет қаралды 62 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН
ОСКАР vs БАДАБУМЧИК БОЙ!  УВЕЗЛИ на СКОРОЙ!
13:45
Бадабумчик
Рет қаралды 3,4 МЛН
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 50 МЛН
Can You Draw A PERFECTLY Dotted Line?
00:55
Stokes Twins
Рет қаралды 99 МЛН
AR Foundation Plane Tracking - Unity Augmented Reality/AR
11:39
Dev Enabled
Рет қаралды 22 М.
Augmented Reality Tutorial | Gaze Interaction in Unity
17:18
Third Aurora
Рет қаралды 62 М.
Creating Immersive AR with Unity 2019!
5:01
Unity
Рет қаралды 112 М.
Unity AR Foundation Tutorial - Plane Detection
10:44
Dinesh Punni
Рет қаралды 88 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 8 МЛН