NateTheGreatt / bitECS

Flexible, minimal, data-oriented ECS library for Typescript
Mozilla Public License 2.0
942 stars 84 forks source link

Shared Array Buffer support? #160

Closed MykhailoStrelnykov closed 2 days ago

MykhailoStrelnykov commented 4 months ago

Got a bunch of 3d object with Position, Quaternion, Scale components. Want to do physics in a separate worker. Is there any way to make stores as a Shared Array Buffer?

NateTheGreatt commented 2 days ago

components can now be anything, here are some docs on multithreading in the new version

https://github.com/NateTheGreatt/bitECS/tree/rc-0-4-0/docs/Multithreading.md