Documentation: CellEaterComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
radius | float | 10 | [0, 100] | |
eat_probability | int | 100 | [0, 100] | |
only_stain | bool | false | ||
eat_dynamic_physics_bodies | bool | true | ||
limited_materials | bool | false | if true, will only eat the materials defined in material_list | |
ignored_material_tag | std::string | if set, will not eat any materials with this tag. please note that this lowers the performance of cell eating by some amount. | ||
Custom data types | ||||
ignored_material | int | 0 | String name of a material that shouldn't be eaten by the component | |
materials | VEC_OF_MATERIALS | is a list of accepted materials sorted |