BoidState(bpy_struct)

base class — bpy_struct

class bpy.types.BoidState(bpy_struct)

Boid state for boid physics

active_boid_rule

(readonly)

Type:

BoidRule

active_boid_rule_index

(in [0, inf], default 0)

Type:

int

falloff

(in [0, 10], default 0.0)

Type:

float

name

Boid state name (default “”, never None)

Type:

str

rule_fuzzy

(in [0, 1], default 0.0)

Type:

float

rules

(default None, readonly)

Type:

bpy_prop_collection[BoidRule]

ruleset_type

How the rules in the list are evaluated (default 'FUZZY')

  • FUZZY Fuzzy – Rules are gone through top to bottom (only the first rule which effect is above fuzziness threshold is evaluated).

  • RANDOM Random – A random rule is selected for each boid.

  • AVERAGE Average – All rules are averaged.

Type:

Literal[‘FUZZY’, ‘RANDOM’, ‘AVERAGE’]

volume

(in [0, 100], default 0.0)

Type:

float

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:

id (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References