Unity Augmented Reality Tutorial Lesson 01 - AR Simulation

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Unity Augmented Reality Tutorial Lesson 01
    Setting up Unity
    Setting the Scene
    Needed Packages
    com.unity.xr.arfoundation 5.0.7
    com.unity.xr.arcore 5.0.7

Комментарии • 53

  • @multishep4340
    @multishep4340 Год назад +5

    This video was so helpful with the development of my unity augmented reality project, keep going! I would love to see more helpful content along the way.

    • @VoidCD7
      @VoidCD7 Год назад +2

      I agree, I would love to see more informative stuff

    • @Aeroaphy
      @Aeroaphy 11 месяцев назад +1

      ikr so epic, i love u mr parr@@VoidCD7

  • @camja11
    @camja11 8 месяцев назад +4

    I have already seen all these tutorials, thank you very much, your explanations have been very clear and motivate me to deepen in this discipline.

  • @alistaircox8003
    @alistaircox8003 4 дня назад +1

    Thanks sir for the help!

  • @neerajchaudhary7363
    @neerajchaudhary7363 9 месяцев назад +3

    Thank you so much sir for your great efforts this is such nice and fine tutorials. I am working on ar for college project thank you alot sir 😊

  • @argentinayoutube8751
    @argentinayoutube8751 5 месяцев назад +1

    Hi, I have to suggest that the simulatedimageTracker should be rotate (-90,0,0). That simulatedImageTracker is facing upside by default(z axis point to forward),but the Quad Image is facing backward(z axis point to up).
    This will mislead the user and may incur some transform problems in real android devices.

  • @hackdaniels4151
    @hackdaniels4151 Год назад +2

    Great tuto!

  • @teigencarter5465
    @teigencarter5465 5 месяцев назад +1

    I have a 2D UI that has been implemented on top of an AR camera. I want the user to be able to use the interface while still viewing AR objects. When I implement the trackedImage, it does not appear on the simulation view. As soon as I move my camera, in Unity, to point to the image, the UI disappear off the simulation. Do you know how I can make sure the UI and image both remain on screen?

    • @lightsandclockwork
      @lightsandclockwork  5 месяцев назад

      Oh, i am not sure why you are having this problem. It is not one i have come across. I would suggest have a watch of my speedrun video with common errors. Maybe you have missed a setting. The UI should stay where it is and allow you to click on other objects.
      I will be doing a split screen ui tutorial in the next few days.

  • @karanoli4914
    @karanoli4914 9 месяцев назад +2

    14:20 Great tutorial bro! Thanks a ton. Could you please help me with one thing, I tried to import a diff model instead of mars, let's say a human.. how do I rotate or reposition the model relative.. I want my model to look in a diff direction and to augment a little farther from the image with which its being tracked from. I actually have a college assignment for which we given to make an AR application and I just started using Unity. Thanks a lot

    • @lightsandclockwork
      @lightsandclockwork  9 месяцев назад

      Hi, Thanks :)
      In brief, Add an 'empty' rather than a sphere. Make sure to center to zero and rename to the same name as your tracked image. Now add your 'human' on to the empty, again zero the coordinates. They now should be aligned.
      Scale and move as required, this will create an offset. Drag the empty, with your human, to the assets window to create a prefab. Go check it, then trial and error to get it just right.
      I had to do a lot of trial and error on lesson 7 with the atari games.
      I will aim to include this in the next video.
      Thanks for watching, encourage your class mates to subscribe :) Thanks.

    • @lightsandclockwork
      @lightsandclockwork  9 месяцев назад +1

      I have now covered this in Lesson 08.
      Hope it helps.

    • @karanoli4914
      @karanoli4914 9 месяцев назад

      @@lightsandclockwork Thanks a ton!

  • @Havi-ft6kk
    @Havi-ft6kk Месяц назад

    Amazing work, but do we need multiple camera's to execute the project ?

    • @lightsandclockwork
      @lightsandclockwork  Месяц назад +1

      No. You can delete the default camera and just use the camera on the XR Origin.
      In one of my videos i do use 2 cameras, as i use a 2nd camera for better UI control.

    • @Havi-ft6kk
      @Havi-ft6kk Месяц назад

      @@lightsandclockwork Thanks

  • @LONEWOLF-nf8fn
    @LONEWOLF-nf8fn 5 месяцев назад +1

    heyy....I followed everything step by step and the thing is earth and the mars were spawning but at totally different spots faar from the images...i tried doing the whole process again and now the planets just dont spawn....any help ??
    Edit: i managed to spawn the planets but they are taking alot time to spawn now.... How do i fix it ??

    • @lightsandclockwork
      @lightsandclockwork  5 месяцев назад +1

      Hi, I am glad you sorted the spawning. I did a newer video that covers common mistakes.
      The time to spawn.. dont know, i know it's frustrating. I have done this with quite a few students in real classrooms and found the same problem. I have not found the pattern.
      It works much faster on a real mobile device. It can be quality of source images, scale, distance from virtual camera. Angle to camera...

    • @nomadictribe1321
      @nomadictribe1321 5 месяцев назад

      u might hv moved the child(quad) instead of the gameobject with trackablescript , or ur position of the prefab is not set to zero

  • @Benaam-original
    @Benaam-original 4 месяца назад +1

    When I click play. The sphere is not spawning. Help.

    • @Benaam-original
      @Benaam-original 4 месяца назад

      I want to spawn a tooth on the basis of which card is shown. I am a dental student and want to make an app which shows a particular tooth when a card is shown. I have downloaded the model but I don't know how to deploy my model. But since my sphere isn't working either I don't know how to proceed further.

    • @lightsandclockwork
      @lightsandclockwork  4 месяца назад

      that sounds a really cool project! :)
      Check my newer speed run version, it covers common errors. When you have the sphere working, you should be abe to parent the tooth the sphere and then turn the sphere renderer off.

  • @maramabutair2700
    @maramabutair2700 Месяц назад

    12:54 I can't edit the environment options are locked what is the problem?????

    • @lightsandclockwork
      @lightsandclockwork  Месяц назад

      Have you duplicated the environment, you cant edit the first/default one.

  • @thienphucquach1676
    @thienphucquach1676 3 месяца назад

    Thanks for your video, I have a question, why my prelab mars is not attached to the mars image :(( it's some distance away

    • @lightsandclockwork
      @lightsandclockwork  3 месяца назад

      Hi,
      A common problem, yuo have most likely moved the image on the tracked image empty, so the picture you can see is in one place, but the tracker is somewhere else. I recap this in my speedrun tutorial.
      ruclips.net/video/2VDTWEwYyek/видео.html

  • @sulaimanyasin5903
    @sulaimanyasin5903 19 дней назад

    Can i use the sketch up model as a 3d model?

    • @lightsandclockwork
      @lightsandclockwork  5 дней назад

      Sorry for the delay. I have not used sketch up for years!!! But last time i tried, yes!
      I remember making my house in sketch up and then exporting/importing into unity in to a game i was making.

  • @TaskForge
    @TaskForge 3 месяца назад

    I’m following this tutorial but every time I try to press play in the XR environment the window changes to “#scene” and nothing works as it works in the video.

    • @lightsandclockwork
      @lightsandclockwork  3 месяца назад

      Hi, I am sorry yuo are having issues. can i recommend you have a quick look at my other video? Common issues.
      ruclips.net/video/2VDTWEwYyek/видео.html

  • @kombancr7
    @kombancr7 5 месяцев назад

    Xr plugin management, in Android don't show in XR simulator, what was the the problem and how to setup. I watched tutorial but problem was not fixed

    • @lightsandclockwork
      @lightsandclockwork  5 месяцев назад +1

      Hi,
      I made a dedicated video for android.
      ruclips.net/video/JnLzoXETbWs/видео.html

  • @nullzero3455
    @nullzero3455 5 месяцев назад

    the planet is not showing when I press on play, any suggestions?

    • @lightsandclockwork
      @lightsandclockwork  4 месяца назад

      Please check the speed run version, i highlight common mistakes.

  • @ProbablyJamie
    @ProbablyJamie 6 месяцев назад

    Hello! I followed the tutorial step-by-step, I only made one tracker image but it spawns two objects when I try to run it

    • @lightsandclockwork
      @lightsandclockwork  6 месяцев назад

      hi, have you remembered to delete the original prefab from the Scene?

    • @ProbablyJamie
      @ProbablyJamie 6 месяцев назад +2

      @andclockwork Yes I did, but it still didn't work I started over again and it works now. Is it normal for the object not to be centered near the image?
      Edit: I checked out the playlist and didn't notice the recent video, the tracking is fixed now Thank you so much!

    • @lightsandclockwork
      @lightsandclockwork  6 месяцев назад +1

      excellent glad you found it.

  • @o.pedrobenetti
    @o.pedrobenetti 6 месяцев назад

    10:00 the prefab that i creat don't have any floor or wall, and the unity don't show my image for tracking

    • @lightsandclockwork
      @lightsandclockwork  6 месяцев назад +1

      Hi, sorry you having problems. My main thought is you have missed a step out, i have many students in an actual classroom and they miss one little bit and then nothing works. All i can suggest is go back through the video and check you have done every part. A common mistake is not including both packages with the correct versions. i.e. i use 5.0.7, but many students have chosen 4.x.x

    • @o.pedrobenetti
      @o.pedrobenetti 6 месяцев назад +1

      @@lightsandclockwork Yes, I just realized that instead of copying the prefab I created a new one, my bad

    • @lightsandclockwork
      @lightsandclockwork  6 месяцев назад

      I am glad you have fixed it :)

  • @pracs6520
    @pracs6520 8 месяцев назад

    i wanted a 3d model to be displayed in the same way but without a marker image..how do i do that?

    • @lightsandclockwork
      @lightsandclockwork  8 месяцев назад +1

      If you mean place an AR 3d Model without tracking an Image, then you can use GPS to position your model to a precise location, or just set the model in 3d space in unity. This series is about image tracking. I will look at other methods in the near future. I will be doing surface tracking next.

    • @pracs6520
      @pracs6520 8 месяцев назад

      @@lightsandclockworksurface tracking meaning plane detection ?....also will be highly grateful if you help us step wise through your tutorials to explore different possibilities that we can create and work upon using ar and vr. Thank you!

    • @maxb.6710
      @maxb.6710 3 месяца назад

      @@lightsandclockwork Especially a tutorial about using GPS would be super helpful! Though there is a codelab from google, I didn't manage to get it running ...

  • @VivekSingh-yj9bo
    @VivekSingh-yj9bo 4 месяца назад

    Please help me. I am not able to simulate during play. I did the exactly same how you did.

    • @lightsandclockwork
      @lightsandclockwork  4 месяца назад +1

      Sorry, i am not sure where it may have gone wrong, please check my newer video where i sppedrun it and i cover common errors.

    • @VivekSingh-yj9bo
      @VivekSingh-yj9bo 4 месяца назад

      @@lightsandclockwork I got it It was my fault. Thanks for replying ☺️

    • @lightsandclockwork
      @lightsandclockwork  4 месяца назад

      i am glad you solved it :)