Свойство | Type | Description | |
---|---|---|---|
boid | Flocking, | ||
center | Vector3 | ||
cohesionFactor | float | ||
desiredLandingRange | Vector2 | ||
flockHasLeader | bool | ||
flockInitialVelocity | Vector3 | ||
highlightLeader | bool | ||
landMesh | Transform | ||
maintainConstantHeight | bool | ||
number_of_boids | int | ||
repulsionFactor | float | ||
scatterFactor | float | ||
speed | float | ||
stationaryCenter | bool | ||
velocitySimilarityFactor | float |
Méthode | Description | |
---|---|---|
Start ( ) : void | ||
Update ( ) : void |
Méthode | Description | |
---|---|---|
addScatter ( int boidIndex ) : Vector3 | ||
getCenterAttractor ( int boidIndex ) : Vector3 | ||
getRepulsion ( int boidIndex ) : Vector3 | ||
matchVelocity ( int boidIndex ) : Vector3 |