AR Foundation with Unity3d and Adding Dragging Functionality with AR Raycast and Physics Raycast

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

Dilmer Valecillos

Dilmer Valecillos

5 жыл бұрын

AR Foundation with Unity3d is used to create an augmented reality scene where I walk you through the implementation and all the components required to drag objects shown in Augmented Reality with Physics.Raycast and also AR Raycast Manager.
New AR Foundation Components used in this Scene:
- Physics Raycast
- AR Raycast Manager
** Support me by Subscribing to the channel as it will help me in bringing a lot more content **
bit.ly/2NmnFMu
** Find the source code in Patreon and support me if you can even if it is with one of the lower tiers as it helps me in bringing you more content - THANK YOU **
/ dilmerv
** EQUIPMENT USED TO RECORD THIS VIDEO **
- Photography Photo Portrait Studio 600W Day Light Umbrella - amzn.to/2WwI0Tc
- 1350W Photography Lighting Softbox Lighting Kit - amzn.to/2MgvV0r
- LimoStudio 6 x 9 ft. Green Muslin Backdrop with Ring Metal Holding Clips - amzn.to/30NofpT
- AmazonBasics 60-Inch Lightweight Tripod with Bag - amzn.to/2Wd8utF
- Canon EOS Rebel T6 Digital SLR Camera Kit - amzn.to/2WcnRlV
Supporters in Patreon help me and show your appreciation for all the content and source code provided thanks!
github.com/dilmerv/UnityARFou...
Support me in Patreon so I can keep doing stuff like this for free!
/ dilmerv
Get realtime indie development tips from me in Twitter
/ dilmerv
Subscribe to my indie development videos & game releases newsletter
www.dilmergames.com
Blog about Indie development and startup
www.dilmergames.com/blog

Пікірлер: 23
@TheNomadDevCraft
@TheNomadDevCraft 5 жыл бұрын
Good Job and thank you for content it helps me a lot. Keep on this
@dilmerv
@dilmerv 5 жыл бұрын
Thank you Stefano for your support and feedback !
@jbach
@jbach 3 жыл бұрын
Fantastic demo and explanation Dilmer! What change would you make if you needed to also constrain the ball movement in just 1 axis on the ARPlane? Sort of like a slider but in 3d space.
@saetbyeolkwon4602
@saetbyeolkwon4602 5 жыл бұрын
Hi Thank you for the awesome tutorials! It helps me a lot. Could you also make a tutorial for some simple animations? Like an animation with image tracking that is started/paused by tapping.
@dilmerv
@dilmerv 5 жыл бұрын
Absolutely and that’s an idea that will help many people in the channel! I will start that video this week :) thanks for your suggestions and time to watch my video.
@viveksehgal9167
@viveksehgal9167 4 жыл бұрын
Hi dilmer. Thanks for the wonderful tutorial. But I had a doubt that I was not able to get the source code from github
@themessengerofgood
@themessengerofgood 5 жыл бұрын
HI! Thanks for useful tutorials! What version of AR Foundation did you use in this tutorial?
@dilmerv
@dilmerv 5 жыл бұрын
Hello Oleg and thanks for your interest and nice message ! The version I am using is "com.unity.xr.arfoundation": "2.2.0-preview.2",
@themessengerofgood
@themessengerofgood 5 жыл бұрын
@@dilmerv And iphoneX or iphoneXR?
@dilmerv
@dilmerv 5 жыл бұрын
I am using an iPhone Xs :)
@SpeaksHistory
@SpeaksHistory 3 жыл бұрын
Would it be possible to have a ui menu to select objects to drag into the ar space?
@dilmerv
@dilmerv 3 жыл бұрын
Definitely possible ;)
@hosamfathi5254
@hosamfathi5254 3 жыл бұрын
Hi Thank you for the awesome tutorials! It helps me a lot... but please what is difference between AR Ray cast and physics ray cast
@dilmerv
@dilmerv 3 жыл бұрын
AR Raycast is mainly for AR Components such as doing a raycast on a plane that got generated with the ARPlaneManager or the ARPointCloudManager for point clouds.
@dilmerv
@dilmerv 3 жыл бұрын
Thank you for your comment and great question !
@dilmerv
@dilmerv 3 жыл бұрын
The regular physics ray cast is for interacting with 3D objects, for instance a cube you want to detect by touching with your finger, or a ray that points to any 3D object in the scene.
@hosamfathi5254
@hosamfathi5254 3 жыл бұрын
@@dilmerv thanks alot ❤️❤️❤️
@1world
@1world 4 жыл бұрын
Hey! Awesome videos, thanks a lot. It seems like destroying objects using Raycast in AR is more difficult than destroying objects in a regular game. Mind making a tutorial on this? Thanks!
@dilmerv
@dilmerv 4 жыл бұрын
Cool idea and yes I will make a video just like the one you are suggesting and if you need others let me know :) thanks for watching !
@martinkulik9466
@martinkulik9466 5 жыл бұрын
ok but what's the use for this? can you use it in gear vr?
@dilmerv
@dilmerv 5 жыл бұрын
Absolutely you can use this in a Gear VR except that it would required changes in the mapping of the area, but the dragging functionality is pretty standard for touch type devices.
@olpner
@olpner 5 жыл бұрын
Why are you trying to use vars as little as possible?
@dilmerv
@dilmerv 5 жыл бұрын
I do that because of code readability, vars are ok but a lot of times I find that having the type explicit allows me to better read the code without needing to find out what the return type by having to look at the method implementation.
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 24 МЛН
Branching Strategies Explained
18:19
DevOps Toolkit
Рет қаралды 131 М.
I Finally Discovered Perpetual Motion
4:16
The Action Lab
Рет қаралды 4,2 МЛН
The U-Net (actually) explained in 10 minutes
10:31
rupert ai
Рет қаралды 90 М.
Top 10 CSS One Liners That Will Blow Your Mind
13:34
developedbyed
Рет қаралды 926 М.
AR Foundation & Unity 03: Image Tracking
12:12
Dinesh Punni
Рет қаралды 126 М.
Unity AR Tutorial:  AR Raycast - place an object mutiple times
6:34
SoomeenHahm Design
Рет қаралды 7 М.
AR Foundation Object Placement - Unity Augmented Reality/AR
13:28
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 538 М.
Unity AR Foundation Tutorial - Tap to Place Objects in AR
13:43
Dinesh Punni
Рет қаралды 92 М.