Spatial Anchor - Mixed Reality Unity XR Tutorial

Sdílet
Vložit
  • čas přidán 13. 01. 2024
  • Spatial anchor lets you anchor virtual object to the real world ! Let's learn how to use them using the Unity XR Toolkit.
    ❤️ Support on Patreon : / valemvr
    🔔 Subscribe for more Unity Tutorials : www.youtube.com/@ValemTutoria...
    🌍 Discord : / discord
    🐦Twitter : valemvr?lang=en
    👍 Main Channel : / @valemvr
    🔥 Tiktok : / valemxr
    ····················································································
    ❗❗❗ WISHLIST MY FIRST VR GAME ON STEAM ❗❗❗
    store.steampowered.com/app/26...
    ····················································································
    📝Best VR Assets ( These links are Affiliate links which means it costs the same to you and I get a small commission. Thanks for your support!)
    VR Interaction Framework
    assetstore.unity.com/packages...
    Hexabody (Physics VR Player)
    assetstore.unity.com/packages...
    Mirror and Reflection for VR
    assetstore.unity.com/packages...
    Auto Hand (automatic hand grab pose)
    assetstore.unity.com/packages...
    Hurricane VR (vr physics interaction)
    assetstore.unity.com/packages...
    3d Hand Model for VR
    assetstore.unity.com/packages...
    ····················································································
    Full Series on How to make a VR game • How to Make a VR Game ...
    ····················································································
    If you enjoyed this video, here are some other really good channel you should appreciate :
    ⌨️ Game Dev
    Brackeys : / @brackeys
    Dani : / @danidev
    Code Monkey : / @codemonkeyunity
    👨‍🎓 Vr Dev
    Justin P Barnett : / @justinpbarnett
    Vr with Andrew : / @vrwithandrew
    ····················································································
    #vr #vrdev #madewithunity

Komentáře • 35

  • @user-xy1sp1jo3r
    @user-xy1sp1jo3r Před 6 měsíci +14

    Cool video. Thanks a lot. Hopefully the next video will be about how to share those anchors in a local network. :) so that more people can look at beautiful images at the same time ;)

  • @haraldgundersen7303
    @haraldgundersen7303 Před 5 měsíci +7

    Agree to a netcode based shared anchor thing, aligning the players virtual space (Seethrough FPS?) would be very helpful.

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

      do you know of any working example project / tutorial for shared spatial anchors?

    • @haraldgundersen7303
      @haraldgundersen7303 Před 4 měsíci +1

      @@nilscorte2030 Nope but was thinking about experimenting with using Cloud Save to share the anchor. Finds the authorization a bit rigid though...

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

      ​@@haraldgundersen7303 I managed to get it to work with Meta SSA, but forget about making it work with UnityXR toolkit. not supported yet

  • @9letterstudios
    @9letterstudios Před 6 měsíci

    This is awesome. Can't wait to see more.

  • @A_walk_in_the_park
    @A_walk_in_the_park Před 6 měsíci

    Exactly what I was looking for! Right on time!

  • @user-ik2bs9uc1s
    @user-ik2bs9uc1s Před 6 měsíci

    just when i needed it, thanks!!

  • @ahmetgocebe5630
    @ahmetgocebe5630 Před 5 měsíci +15

    When do we get a tutorial about SharedSpatial Anchors please

    • @mattiacasalegno1493
      @mattiacasalegno1493 Před 2 dny

      Hi Valem, is the tutorial on shared spatial anchors on your patreon,? I can't find it .

  • @antonolivaresjuanjose2992
    @antonolivaresjuanjose2992 Před 6 měsíci +2

    You are the number one in Vr

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

    I will drop this here for people: Shared Spatial anchors are a pain to get working correctly and currently NOT possible with the UnityXR toolkit. So you will have to wait for that to be added.
    It works with the OVR Manager but has a lot of requirements before you can even make it work.
    Currently we have made a system where an anchor gets saved inside a database and shared automatically with multiple players in the same physical room.

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

    Thanks for this (and your other tutorials on VR!)
    Followed this through and got it all working great - just wondering it there's a way to select one of the points added with the raycast (beam) and delete that point?

  • @LeonidXR
    @LeonidXR Před 6 měsíci +3

    Hi Valem, thank you for this video!
    Last year I was also experimenting with the anchors in the Oculus Integration. This worked fine. But sharing them over a Network was not possible without sharing the App over the Oculus Store.
    Do you think that sharing without Oculus could be possible with AR Foundation now?

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

    SO GLAD to see this, been waiting to see how i can have access to the spatial mesh for anchoring. So after i followed all the videos about setting the project up with XR interaction toolkit, when i reached this anchoring video, and switch to 2023 unity version. The anchor prefab gizmo wasnt being placed on trigger.. i realised i switched to 2023.3 not 2023.2. Could it be a reason its not working?

  • @lilDault
    @lilDault Před 6 měsíci

    Good vid

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

    Nice tutorial, what about wanting to paint something into a tree for example? Could the AR Plane Manager detect something circular like a tree so then I could put some prefabs into that?

  • @vincentclayton8331
    @vincentclayton8331 Před 2 měsíci

    Greate video! can this be used with the meta all in one sdk?

  • @SuperSonic68
    @SuperSonic68 Před 6 měsíci

    Can XR TOOLKIT utilize Quest 3's spacial mesh? So far your tutorials only cover manual placement of cube colliders like how Quest 2 does it.

  • @storm1us
    @storm1us Před 6 měsíci

    Hi Valem. This is unrelated to this video but do you know how to make the configurable joints more stable from the physics rig tutorial? When climbing the player wobbles.

  • @Syertim
    @Syertim Před 6 měsíci +1

    Could you make a tutorial for spatial anchors with Oculus integration too? thanks!

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

      I've also been trying to get this to work and struggling. Has anyone else managed to figure this out yet?

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

    Hi Valem, Thank you so much for the great tutorials. I am trying to inherit the Grabbable script which is inside the Package Manager but when I go to the definition of the Grabbable script it is inheriting from the metadata Grabbable script instead of the Package Manager Grabbable script. I need to access BeginTransform, UpdateTransform, and EndTransform methods from the Package Manager Grababble script to add some variables.
    I want to override the BeginTransform, UpdateTransform, and EndTransform methods from the Package Manager Grababble script into a custom script.
    Can you please help me with this?
    Thanks in advance.

  • @SolarpunkSeed
    @SolarpunkSeed Před 4 měsíci +1

    thank for this ! trying to get through it. however: changing the manifest to xr.arfoundation version 6 gave me dependency errors and a big crash

    • @Filmblanc
      @Filmblanc Před 2 měsíci

      Same here, any resolve?

    • @SolarpunkSeed
      @SolarpunkSeed Před 2 měsíci

      @@Filmblanc no, I gave up for now lol. Hoping it becomes a bit clearer and easier later.

  • @r.d.6856
    @r.d.6856 Před 4 měsíci

    Is there any way to store the anchors, so that next time, when I recompile, download and restart the app in the PC or Quest 3, the Beautiful Painting remain at the same position as before?

  • @hugodigio8027
    @hugodigio8027 Před 2 měsíci

    I use ARAnchor to place object on my scene, but when the headset go into sleep mode and waking up, the anchor completly drift :(

  • @taratust2735
    @taratust2735 Před 4 měsíci

    Anyone encountered a bug with the new 62 Meta Quest 3 update that the anchors are no longer working when the Quest went to stand-by?

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

    Could this be used to sync up multiple players in a real world space? Like they go and locate 4 real world markers on the ground and the world aligns to those points?

    • @systemx17
      @systemx17 Před 4 měsíci

      I think Shared Spatial Anchors was what I was looking for. Do you have a tutorial coming on that? If not I will start doing the research myself. I know you work so hard and you do awesome work! If so I can’t wait!!

  • @haim96
    @haim96 Před 6 měsíci +1

    does anchored object can be grab and move in the scene?

    • @ValemTutorials
      @ValemTutorials  Před 6 měsíci

      No the position is fixed but you can move their children!

    • @user-xy1sp1jo3r
      @user-xy1sp1jo3r Před 6 měsíci

      you could destroy the ARAnchor Component, add a Grabable Component, move the object, and when done add a ARAnchor component again