Unity AR - Augmented Reality Tutorial Lesson 11 - Scaling Objects OnClick

Sdílet
Vložit
  • čas přidán 27. 01. 2024
  • Unity Augmented Reality Tutorial Lesson 10
    Scale an Object when selected and resize when clicked away
    Needed Packages
    com.unity.xr.arfoundation 5.0.7
    com.unity.xr.arcore 5.0.7
    Code can be downloaded from:
    github.com/TemporalCoder/UnityAR

Komentáře • 12

  • @Renn2802
    @Renn2802 Před 5 měsíci +2

    Oh my god, you are my lifesaver, sir! This is very helpful. Thank you so much for uploading this tutorial!

    • @lightsandclockwork
      @lightsandclockwork  Před 5 měsíci

      You're welcome. i hope your project goes well, feel free to send me images/videos of your project.

  • @usaid2206
    @usaid2206 Před 5 měsíci +1

    coolbeans

  • @maxgordon3194
    @maxgordon3194 Před 3 měsíci +1

    will you do tutorials about plane detection too as in not only detect planes but anchor a level and load it with plane detection and it stays in one place. or if you know any good tutorials could you recommend anything like that? I looked a lot but they only show how to detect a plane surface that is it.
    there is vuforia out there but is kind of very different from AR foundation.

    • @lightsandclockwork
      @lightsandclockwork  Před 3 měsíci

      I am working on this, but turns out it is a bit tricky! Trying to pull apart the Meta SDK stuff.
      I have managed to get a full room mesh, but other than basic collision, i haven't managed to use it in a way i find meaningful yet.

    • @maxgordon3194
      @maxgordon3194 Před 3 měsíci +1

      @@lightsandclockwork that is cool really. other than collision or so you can add a collider component to the player camera and also add a square shaped component inside the room same as games that if a user steps outside those bounds or so the game pauses. I am working on something similar but wasn't able to get much on fullscale rooms with ground plane detection and placement.

    • @lightsandclockwork
      @lightsandclockwork  Před 3 měsíci +1

      I will see what i can do. I have wanted to make a min vr game where the ground around you gets destroyed.

  • @nullzero3455
    @nullzero3455 Před 28 dny

    is it possible to scale or rotate with pinch?

    • @lightsandclockwork
      @lightsandclockwork  Před 28 dny

      Short answer is Yes :)
      Long anwser is... I dont know how, never done it, but i shall look into it, thanks for the suggestion, it sounds like an interesting feature and challenge.

    • @lightsandclockwork
      @lightsandclockwork  Před 15 dny +1

      I have just added a video on scaling. I'll try and sort rotation out soon.
      I have had some success, but didnt look good.

    • @nullzero3455
      @nullzero3455 Před 14 dny

      @@lightsandclockwork thank you! I'll try it out