arcore-unity-sdk
arcore-unity-sdk copied to clipboard
Stationary Anchor with Moveable Objects
SPECIFIC ISSUE ENCOUNTERED
Hi what is the best way to share moveable object among users. I'm trying to make an AR air hockey game in which we are successfully using cloud anchors to host and anchor the table. I've read online that you can have object surrounding your anchor, but can these object, in this case the player paddles and puck be moveable?
VERSIONS USED
- Unity:2018.3.9f1
- ARCore SDK for Unity:
- Device manufacturer, model, and O/S: Samsung Galaxy s8
- ARCore: arcore-unity-sdk-v1.7.0
STEPS TO REPRODUCE THE ISSUE
- Build an AR app with multiple object that have non stationary objects on top of a stationary anchor that must be shared among 2 users.
WORKAROUNDS (IF ANY)
ADDITIONAL COMMENTS
I am currently able to get the hockey table anchor to work using cloud anchors, but am trying to figure out the best way to add the paddles and puck (have figured it all of their movements using OnMouseDrag, which work when we had individual tables, instead of a shared one via cloud anchors)
@arushipatel97 Did you manage to get anywhere with this?
Cheers,
O.
Hi @oliverellmers I did! So for the stationary item, I used cloud anchors, but for the moving objects I used photon to sync the movement across multiple devices
@arushipatel97 Thanks for getting back to me!
Great to hear - I will have a look into Photon. Were you able to achieve this simply using the Manipulator scripts supplied with ARCore, or did you implement a different transformation system?
Trying to find the path with least resistance! :)
Thanks in advance,
O.