Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Zsaberhd's avatar
Zsaberhd
Explorer
8 months ago
Solved

Colocation load old anchor

Hello!

I'm currently developing a Colocation App,
my goal is to store information of object position for take them be in the same position when you login again.
Actually i would like to just instantiate this objects as child of the colocation anchor and keep in the save info the localposition as an offset.

the problem i would like to troubleshoot is about the building block of colocation, it is creating every time you init him a new anchor, instead for my usage I would prefer to check if he have a anchor saved and then load/instantiate it.

what i can do?

here some extra informations:
Engine: Unity 6 (6000.0.37f1)
Meta XR SDK: 72.0.0

2 Replies

Replies have been turned off for this discussion
  • Thank you!!!
     
    I just finished replicating the video you shared with me, really helpful and easy to understand.
     
    Now I will definitely modify it according to my needs.