Flock
from panda3d.ai import Flock
- class Flock
Bases:
This class is used to define the flock attributes and the AI characters which are part of the flock.
Inheritance diagram
- __init__(flock_id: int, vcone_angle: float, vcone_radius: float, separation_wt: int, cohesion_wt: int, alignment_wt: int)
- addAiChar(ai_char: AICharacter)
This function adds AI characters to the flock.