Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Its true, Bevy is quite limited with only simple parent/child relationships[0] and much of the community is looking for more structured relations.

As it stands its pretty common to hold a `HashMap<Index, Entity>` and manually manage the data structure through derefs or some system that keeps it consistent. Ideally only using it for lists of entities that remain static like a tilemap.

[0] https://taintedcoders.com/bevy/hierarchy/



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: