I would like to create a shared AR, where I would like to:
- spawn a cube for each player on an ImageTarget
- allow them to control the position of their cube
- allow them to see the movements of all other players' cubes
I'm using PUN 2 as my networking library, where I have no issue synchronizing the positions and rotations of all cubes. However, the cubes do not stay on the ImageTarget properly and are "jumping" around. On the other hand, if I place my two phones very close together and point them at the ImageTarget at roughly the same angle, the cubes do not jump as much anymore.
This leads me to think that the 2 instances of ARCamera fail to realize that they are pointing at the same ImageTarget from 2 different angles, and instead think that the ImageTarget exists in 2 different orientations at the same time.
Is there any way for me to tell Vuforia that I'm using multiple instances of ARCamera pointing at the same ImageTarget?
Thanks so much in advance!
This looks helpful to you! https://medium.com/tribalscale/creating-a-real-time-synced-multi-device-ar-app-in-24-hours-4c6c8c37877a