Hubs-Foundation / Spoke

Easily create custom 3D environments
Other
652 stars 255 forks source link

RFC: Allow custom data fields on objects #983

Open caspiano opened 4 years ago

caspiano commented 4 years ago

Currently, the process to add custom components to hubs is quite laborious and hacky. It would be great if there was support for custom properties on objects directly in Spoke, that way forks of the Hubs client could rapidly prototype new scene components.

robertlong commented 4 years ago

I've started experimenting with integrating ECSY into Spoke. ECSY an ECS framework that we're building on the Mozilla Reality team. https://ecsy.io/

ECSY allows you to define entities which are representations of objects in a scene and components which are representations of data associated with an entity. The components are defined with schemas which include type information that we can use to automatically generate editor UIs as well as serialization implementations.

So that's the plan to get this and other extensibility features integrated into Spoke.

BarakChamo commented 2 years ago

Wondering if anyone made any progress on this?

Agree with @caspiano that this could be a very useful bridge between spoke and hubs to customize scenes in custom versions of Hubs.