Spoke icon indicating copy to clipboard operation
Spoke copied to clipboard

RFC: Allow custom data fields on objects

Open caspiano opened this issue 4 years ago • 2 comments

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.

caspiano avatar Jun 24 '20 23:06 caspiano

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.

robertlong avatar Jun 30 '20 17:06 robertlong

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.

BarakChamo avatar May 24 '22 16:05 BarakChamo