BoidSettings(bpy_struct)

base class — bpy_struct

class bpy.types.BoidSettings.BoidSettings(bpy_struct)

Settings for boid physics

accuracy

Accuracy of attack

Type

float in [0, 1], default 0.0

active_boid_state
Type

BoidRule, (readonly)

active_boid_state_index
Type

int in [0, inf], default 0

aggression

Boid will fight this times stronger enemy

Type

float in [0, 100], default 0.0

air_acc_max

Maximum acceleration in air (relative to maximum speed)

Type

float in [0, 1], default 0.0

air_ave_max

Maximum angular velocity in air (relative to 180 degrees)

Type

float in [0, 1], default 0.0

air_personal_space

Radius of boids personal space in air (% of particle size)

Type

float in [0, 10], default 0.0

air_speed_max

Maximum speed in air

Type

float in [0, 100], default 0.0

air_speed_min

Minimum speed in air (relative to maximum speed)

Type

float in [0, 1], default 0.0

bank

Amount of rotation around velocity vector on turns

Type

float in [0, 2], default 0.0

health

Initial boid health when born

Type

float in [0, 100], default 0.0

height

Boid height relative to particle size

Type

float in [0, 2], default 0.0

land_acc_max

Maximum acceleration on land (relative to maximum speed)

Type

float in [0, 1], default 0.0

land_ave_max

Maximum angular velocity on land (relative to 180 degrees)

Type

float in [0, 1], default 0.0

land_jump_speed

Maximum speed for jumping

Type

float in [0, 100], default 0.0

land_personal_space

Radius of boids personal space on land (% of particle size)

Type

float in [0, 10], default 0.0

land_smooth

How smoothly the boids land

Type

float in [0, 10], default 0.0

land_speed_max

Maximum speed on land

Type

float in [0, 100], default 0.0

land_stick_force

How strong a force must be to start effecting a boid on land

Type

float in [0, 1000], default 0.0

pitch

Amount of rotation around side vector

Type

float in [0, 2], default 0.0

range

Maximum distance from which a boid can attack

Type

float in [0, 100], default 0.0

states
Type

bpy_prop_collection of BoidState, (readonly)

strength

Maximum caused damage on attack per second

Type

float in [0, 100], default 0.0

use_climb

Allow boids to climb goal objects

Type

boolean, default False

use_flight

Allow boids to move in air

Type

boolean, default False

use_land

Allow boids to move on land

Type

boolean, default False

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

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

References

  • ParticleSettings.boids