from panda3d.ai import Flock
class Flock


This class is used to define the flock attributes and the AI characters which are part of the flock.

Inheritance diagram

Inheritance diagram of Flock

__init__(param0: Flock)
__init__(flock_id: int, vcone_angle: float, vcone_radius: float, separation_wt: int, cohesion_wt: int, alignment_wt: int)
add_ai_char(ai_char: AICharacter)

This function adds AI characters to the flock.

get_id() int

Function to access the private member flock_id.