Component filters
You must specify which components a worker instance can receive updates about. You do this using component filters. This is in addition to setting up read access permission and interest (QBI(t) or CBI).
The static component filter (all entities)
Use the component delivery field (in the bridge configuration section of the worker configuration file) to specify the components that worker instances of a particular type can receive updates about. You can either set checkoutAllInitially
to true
to allow all components, or you can whitelist individual components using checkout_initially
.
The dynamic component filter (specific entities)
You can set up filters on specific entities during runtime via a message to SpatialOS (see the API documentation for C++/C#/Java).
You set up dynamic component filters to override the static component filter.