Esempio n. 1
0
 public DynamicSeparation(Flock flock)
 {
     this.Flock = flock;
     this.SeparationFactor = 20.0f;
     this.FlockRadius = 1.0f;
     this.MaxAcceleration = 20.0f;
 }
 public DynamicFlockVelocityMatching(Flock flock)
 {
     this.Flock = flock;
     this.FlockRadius = 1.0f;
     this.MaxAcceleration = 20.0f;
     this.MovingTarget = new KinematicData();
 }
Esempio n. 3
0
 public DynamicCohesion(Flock flock)
 {
     this.Flock = flock;
     this.FlockRadius = 1.0f;
     this.MaxAcceleration = 20.0f;
     this.MaxSpeed = 20.0f;
     this.Target = new KinematicData();
     this.TimeToTarget = 0.5f;
     this.SlowRadius = 10.0f;
     this.TargetRadius = 2.0f;
 }