Tap to Place Objects using AR Foundation 5 Unity 2023 with XR Origin & AR Session

Xienna Studio
Xienna Studio
9.5 هزار بار بازدید - 11 ماه پیش - In this AR Foundation tutorial,
In this AR Foundation tutorial, we are going to learn how to implement tap to place an object or multiple objects with plane tracking in Augmented Reality. We will be using the latest AR Foundation 5 Unity 2023 or Unity 2022 with XR Origin and AR Session.

There are 3 different solutions to implement them, and we will learn how to do each solution.
• Using the old input system
• Using the new input system created with script
• Using the new input system created in the editor

As there is a lot of similar information in this video, I try to make it so even if you skip the other part, you will still be able to follow along. Please tell me if it will be better to teach each solution in a separate video.

🔗 Links:
Source code: Patreon: 87675816
Basic setup video: Basic Setup for AR Foundation 5 using...
XR Simulation video: XR Simulation to Test AR Project in U...

Timestamps:
00:00 Intro
00:15 Basic setup
00:30 Add ARPlaneManager
01:22 Add ARRaycastManager
01:42 Create the prefab that will be spawned
02:20 Tap to place explanation
02:46 Scripts explanation
03:22 Tap to place an object using the old input system
05:41 Make the object look towards the camera
05:54 Tap to place multiple objects using the old input system
06:32 Using the new input system
07:02 Tap to place an object using the new input system with script
10:30 Tap to place multiple objects using the new input system with script
11:26 Tap to place an object using the new input system with the editor
13:31 Tap to place multiple objects using the new input system with the editor
14:18 Outro

🔧 Prerequisites:
Make sure you have Unity 2023 or 2022 installed on your machine.
And if you don't have the basic scene setup yet, check my basic setup video.

AR Foundation is Unity's AR cross platform implementation for ARCore and ARKit and can be run on both Android and IOS.

💡 CC is available. Please feel free to send any questions, comments, suggestions, or feedback.

🌐 Connect:
Patreon: Patreon: xiennastudio
Twitter: Twitter: xiennastudio
Discord: Discord: discord
Donate: https://ko-fi.com/xiennastudio

#unity3d  #augmentedreality #arfoundation #arcore #arkit #madewithunity #gamedev
11 ماه پیش در تاریخ 1402/05/24 منتشر شده است.
9,500 بـار بازدید شده
... بیشتر