Unity Augmented Reality Tutorial Lesson 01 - AR Simulation

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 62

  • @camja11
    @camja11 Рік тому +6

    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.

  • @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 Рік тому +1

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

  • @AtrinaAtrin
    @AtrinaAtrin 14 днів тому +1

    Your tutorials are helpful. Thank you.

  • @neerajchaudhary7363
    @neerajchaudhary7363 Рік тому +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 😊

  • @karanoli4914
    @karanoli4914 Рік тому +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  Рік тому

      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  Рік тому +1

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

    • @karanoli4914
      @karanoli4914 Рік тому

      @@lightsandclockwork Thanks a ton!

  • @LONEWOLF-nf8fn
    @LONEWOLF-nf8fn 9 місяців тому +2

    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  9 місяців тому +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 9 місяців тому +1

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

  • @o.pedrobenetti
    @o.pedrobenetti 11 місяців тому

    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  11 місяців тому +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 10 місяців тому +1

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

    • @lightsandclockwork
      @lightsandclockwork  10 місяців тому

      I am glad you have fixed it :)

  • @teigencarter5465
    @teigencarter5465 9 місяців тому +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  9 місяців тому

      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.

  • @milaemmerich5891
    @milaemmerich5891 8 днів тому

    Hey, I followed the steps, but the screen just becomes black in game mode. Any idea why?

  • @est9905
    @est9905 3 місяці тому +1

    When I go back from the XREnvironment (TestAR01), I cannot see the image in the normal scene as you can see it. Can you help me please?

    • @lightsandclockwork
      @lightsandclockwork  3 місяці тому

      Sorry for delay. I have just gone to Unity 6 and am having the same problems.
      I am trying to see if i can find a work around.

  • @maramabutair2700
    @maramabutair2700 5 місяців тому

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

    • @lightsandclockwork
      @lightsandclockwork  5 місяців тому

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

  • @hackdaniels4151
    @hackdaniels4151 Рік тому +2

    Great tuto!

  • @argentinayoutube8751
    @argentinayoutube8751 9 місяців тому +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.

  • @alistaircox8003
    @alistaircox8003 4 місяці тому +1

    Thanks sir for the help!

  • @thienphucquach1676
    @thienphucquach1676 7 місяців тому

    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  7 місяців тому

      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.
      ua-cam.com/video/2VDTWEwYyek/v-deo.html

  • @Havi-ft6kk
    @Havi-ft6kk 6 місяців тому

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

    • @lightsandclockwork
      @lightsandclockwork  5 місяців тому +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 5 місяців тому

      @@lightsandclockwork Thanks

  • @strepsersrs8018
    @strepsersrs8018 2 місяці тому +2

    👑 🤞

  • @pracs6520
    @pracs6520 Рік тому

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

    • @lightsandclockwork
      @lightsandclockwork  Рік тому +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 Рік тому

      @@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 8 місяців тому

      @@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 ...

  • @ProbablyJamie
    @ProbablyJamie 10 місяців тому

    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  10 місяців тому

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

    • @ProbablyJamie
      @ProbablyJamie 10 місяців тому +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  10 місяців тому +1

      excellent glad you found it.

  • @sulaimanyasin5903
    @sulaimanyasin5903 3 місяці тому

    is there any difference between this version of unity and other versions?

    • @lightsandclockwork
      @lightsandclockwork  3 місяці тому

      yes. Unity are constantly making updates. some will impact this lesson at some point.
      Many libraries and features get depreciated. So in the future this tutorial will be obsolete, but i dont know when.

    • @sulaimanyasin5903
      @sulaimanyasin5903 3 місяці тому

      @@lightsandclockwork ok, thank you so much for your response but i unfortunatly got another problem while creating project in unity hub 3.9.1 it asks me to check the log files how can i fix it

  • @kombancr7
    @kombancr7 10 місяців тому

    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  10 місяців тому +1

      Hi,
      I made a dedicated video for android.
      ua-cam.com/video/JnLzoXETbWs/v-deo.html

  • @Benaam-original
    @Benaam-original 9 місяців тому +1

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

    • @Benaam-original
      @Benaam-original 9 місяців тому

      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  9 місяців тому

      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.

  • @nullzero3455
    @nullzero3455 9 місяців тому

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

    • @lightsandclockwork
      @lightsandclockwork  9 місяців тому

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

  • @arikkhan9432
    @arikkhan9432 26 днів тому

    can you please help me by giving me those images which you used for your project please??

    • @lightsandclockwork
      @lightsandclockwork  23 дні тому

      Hi, I think i got the solar system from a google image search and the actual planets from the nasa site.

  • @sulaimanyasin5903
    @sulaimanyasin5903 4 місяці тому

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

    • @lightsandclockwork
      @lightsandclockwork  4 місяці тому +1

      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.

    • @sulaimanyasin5903
      @sulaimanyasin5903 3 місяці тому

      @@lightsandclockwork okay thank you so much for replying

  • @VivekSingh-yj9bo
    @VivekSingh-yj9bo 9 місяців тому

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

    • @lightsandclockwork
      @lightsandclockwork  9 місяців тому +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 9 місяців тому

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

    • @lightsandclockwork
      @lightsandclockwork  9 місяців тому

      i am glad you solved it :)