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

Store particles and entities in Bevy's world #2

Open
eira-fransham opened this issue Mar 12, 2024 · 0 comments
Open

Store particles and entities in Bevy's world #2

eira-fransham opened this issue Mar 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@eira-fransham
Copy link
Owner

Motivation

See #1

Proposal

We eventually want to migrate all client behaviour into Bevy systems, but doing so is a huge amount of work. The smallest possible first step would be to remove the vector of entities/particles from the ClientState struct itself, and store those objects in the bevy::World. The behaviour would still be in the same methods on ClientState, but the methods would take Querys as parameters instead of storing that data in fields

Issues

We still pass the entire ClientState to the render thread, so we need to make sure that the correct data is still being passed now that it lives in components. Ideally, we would use regular Bevy types like Transform if we need the origin.

@eira-fransham eira-fransham added the enhancement New feature or request label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant