BoidSettings(bpy_struct)¶
base class — bpy_struct
- class bpy.types.BoidSettings(bpy_struct)¶
Settings for boid physics
- accuracy¶
Accuracy of attack (in [0, 1], default 0.0)
- Type:
float
- active_boid_state_index¶
(in [0, inf], default 0)
- Type:
int
- aggression¶
Boid will fight this times stronger enemy (in [0, 100], default 0.0)
- Type:
float
- air_acc_max¶
Maximum acceleration in air (relative to maximum speed) (in [0, 1], default 0.0)
- Type:
float
- air_ave_max¶
Maximum angular velocity in air (relative to 180 degrees) (in [0, 1], default 0.0)
- Type:
float
- air_personal_space¶
Radius of boids personal space in air (% of particle size) (in [0, 10], default 0.0)
- Type:
float
- air_speed_max¶
Maximum speed in air (in [0, 100], default 0.0)
- Type:
float
- air_speed_min¶
Minimum speed in air (relative to maximum speed) (in [0, 1], default 0.0)
- Type:
float
- bank¶
Amount of rotation around velocity vector on turns (in [0, 2], default 0.0)
- Type:
float
- health¶
Initial boid health when born (in [0, 100], default 0.0)
- Type:
float
- height¶
Boid height relative to particle size (in [0, 2], default 0.0)
- Type:
float
- land_acc_max¶
Maximum acceleration on land (relative to maximum speed) (in [0, 1], default 0.0)
- Type:
float
- land_ave_max¶
Maximum angular velocity on land (relative to 180 degrees) (in [0, 1], default 0.0)
- Type:
float
- land_jump_speed¶
Maximum speed for jumping (in [0, 100], default 0.0)
- Type:
float
- land_personal_space¶
Radius of boids personal space on land (% of particle size) (in [0, 10], default 0.0)
- Type:
float
- land_smooth¶
How smoothly the boids land (in [0, 10], default 0.0)
- Type:
float
- land_speed_max¶
Maximum speed on land (in [0, 100], default 0.0)
- Type:
float
- land_stick_force¶
How strong a force must be to start effecting a boid on land (in [0, 1000], default 0.0)
- Type:
float
- pitch¶
Amount of rotation around side vector (in [0, 2], default 0.0)
- Type:
float
- range¶
Maximum distance from which a boid can attack (in [0, 100], default 0.0)
- Type:
float
- states¶
(default None, readonly)
- Type:
- strength¶
Maximum caused damage on attack per second (in [0, 100], default 0.0)
- Type:
float
- use_climb¶
Allow boids to climb goal objects (default False)
- Type:
bool
- use_flight¶
Allow boids to move in air (default False)
- Type:
bool
- use_land¶
Allow boids to move on land (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type