Get SpatialOS

Sites

Menu

Bridge configuration

We are in the process of releasing a new, flexible project layout (currently in beta).

When it’s stable, we intend the flexible project layout to replace the project layout described on this page.

The bridge field of the worker configuration file specifies the worker type’s runtime settings. It has the following overall structure:

"bridge": {
    "worker_attribute_set": {},
    "entity_interest": {},
    "streaming_query": [],
    "component_delivery": {},
    "component_settings": {}
}
  • The worker attribute set field (required) describes which layer this worker type belongs to.
  • The entity interest field (required) is about defining which entities a worker instance of this type gets component updates for.
  • The streaming queries field (optional) lets you set up streaming queries to get information about entities.
  • The component delivery field (optional) configures the set of components a worker instance checks out when they check out an entity, and whether component updates are allowed to be sent in an unreliable manner.
  • The component settings field (optional) allows you to configure various component settings.

Search results

Was this page helpful?

Thanks for letting us know!

Thanks for your feedback

Need more help? Ask on the forums