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

A new state needs to be added to keep track of the player's sitting/interactions. #143

Open
Gigabyte5671 opened this issue Feb 26, 2023 · 2 comments
Labels
bug Something isn't working user experience

Comments

@Gigabyte5671
Copy link
Member

Gigabyte5671 commented Feb 26, 2023

Current issues:

  • (A) Interaction icons still show when sitting:
    image
    Fixed with commit 43d519c.
  • (B) Multiple players can occupy the same seat:
    image

Keeping track of sitting state (and sending that over the network?) should help fix these issues.

Relates to #137.

@Gigabyte5671 Gigabyte5671 added bug Something isn't working user experience labels Feb 26, 2023
@Gigabyte5671 Gigabyte5671 changed the title A new [something] needs to be added to keep track of the player's sitting state. A new state needs to be added to keep track of the player's sitting/interactions. Mar 17, 2023
@Gigabyte5671
Copy link
Member Author

@ctrlaltdavid To solve problem B, Is there an existing way that we could notify the domain server / other clients about which object we are currently sitting on in a scene?

@Gigabyte5671 Gigabyte5671 added the question Further information is requested label Mar 20, 2023
@Gigabyte5671
Copy link
Member Author

Answer from David:

Editing entity properties probably not a goer because will run into permissions issues.
An alternative could beto use MessageMixer messages to coordinate who's sitting on which entity - e.g., broadcast "I'm sitting on entity X" when first sit and then every second thereafter so that other users don't try to sit on an already occupied entity. And broadcast "I'm not sitting on entity X" when stamd up from it. And resolve race conditions - e.g., if receive a message saying that someone is sitting on the entity you're sitting on, unsit from it.

@Gigabyte5671 Gigabyte5671 removed the question Further information is requested label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working user experience
Projects
None yet
Development

No branches or pull requests

1 participant