Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple people operate one object? #232

Closed
ruliusuifeng opened this issue Jan 19, 2021 · 4 comments
Closed

Multiple people operate one object? #232

ruliusuifeng opened this issue Jan 19, 2021 · 4 comments

Comments

@ruliusuifeng
Copy link

I tried to combine the physics module, but when two people play together, each will generate a set of physical objects. Each can only play their own physical objects.
Is there a demo that allows multiple people to operate one object? I will take it away and you will take it back.

@vincentfretin
Copy link
Member

You should come to the #networked-aframe channel on A-Frame Slack https://aframe.io/slack-invite/ to read the comments of the previous months and pinned comments there. I answered several times this topic (takeOwnership and persistent). I don't have an running example to give you, only some snippets available on the channel.

@ruliusuifeng
Copy link
Author

You should come to the #networked-aframe channel on A-Frame Slack https://aframe.io/slack-invite/ to read the comments of the previous months and pinned comments there. I answered several times this topic (takeOwnership and persistent). I don't have an running example to give you, only some snippets available on the channel.

Hello, I saw your example on slack, but I don’t know how to add it to my demo. Can you provide me with a working demo? Is static-media an existing template id? How does someHandler work? I tried to add to the networked init method, only one ball remained, but the changes of the ball were invisible to each other.

@vincentfretin
Copy link
Member

See the full second pinned thread https://app.slack.com/client/T0FAGUM6W/C65MC3NSF/thread/C65MC3NSF-1607705738.106800
There is a glitch https://glitch.com/edit/#!/nafsoundardemoroom-vincent with a sphere that is persistent that use a random color on a sphere by doing the takeOwnership only for the first user.

@vincentfretin
Copy link
Member

see #238 as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants