BoidState(bpy_struct)

base class — bpy_struct

class bpy.types.BoidState(bpy_struct)

Boid state for boid physics

active_boid_rule
Type:BoidRule, (readonly)
active_boid_rule_index
Type:int in [0, inf], default 0
falloff
Type:float in [0, 10], default 0.0
name

Boid state name

Type:string, default “”, (never None)
rule_fuzzy
Type:float in [0, 1], default 0.0
rules
Type:bpy_prop_collection of BoidRule, (readonly)
ruleset_type

How the rules in the list are evaluated

  • 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:enum in [‘FUZZY’, ‘RANDOM’, ‘AVERAGE’], default ‘FUZZY’
volume
Type:float in [0, 100], default 0.0
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References