Objects that persist for all users?

Hi,
Is there a simple way to ensure that everyone using the WebAR has a common experience - that they see the same objects, and that if one person’s action generates an object in a given area, others can see it and interact with it?

Have you looked into Shared AR?

Note: Shared AR is supported on Plus, Pro, and Enterprise plans. It is not supported for Starter plans.

Demo

Yes, and it seemed like that was something of a walled garden where people could interact with a limited group, rather than with the entire population of users. Am I misperceiving that?

@Pranada @Rickard_Elimaa the Shared AR module is great for synchronizing game state between users within a session, but it currently doesn’t provide persistence. Game state only persists through the duration of a room’s lifecycle.

To achieve what you want, you’ll need some type of persistent data store, such as a database. For example the database could store all of the objects and their positions/rotations/scale so later when a different user comes along, the database is queried and the scene is recreated for them.

Might check out this module created by @Diego_Aguirre!: Firebase Realtime Database Module

3 Likes

Hi! Nice to meet you @Pranada and thanks @TonyT for tagging me out!

Hey Pranada, I suggest you to check this article that contains instructions and code examples that… include Pokémon’s hahaha

This article includes Firebase set-up too :grin:

I hope you find it useful, still if you bump in any difficulty don’t hesitate to reach out!