Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Shenksu's avatar
Shenksu
Explorer
2 years ago

How to update MetaXR Spatial Anchor transform?

Hi there,

iam creating spatial anchors from metaxr api. I can save them and load them - all good. All i wonder is, i cannot move the actor i created from the anchor (anchor actor). That means i cannot update its transform in the game, which is a bit weird. In theory i could delete it and recreate a new anchor an another position, but guess its not the intended way?!

This is the code how i spawn it and how i try to update the location. But the actor is sticky and does not move during game runtime :

 

 

Some ideas about it? thanks 🙂