Пример #1
0
 public Pedestrian(GameObject gameObject) : base(gameObject)
 {
     this.Movement = new DynamicStraightAheadAndBack()
     {
         Character = this.KinematicData,
         MaxAcceleration = 60.0f,
         Target = new KinematicData()
     };
     this.Drag = 0.3f;
 }
Пример #2
0
 public Pedestrian(GameObject gameObject) : base(gameObject)
 {
     this.Movement = new DynamicStraightAheadAndBack()
     {
         Character       = this.KinematicData,
         MaxAcceleration = 60.0f,
         Target          = new KinematicData()
     };
     this.Drag = 0.3f;
 }
Пример #3
0
 public SteeringPipeline(KinematicData character)
 {
     this.Target = new KinematicData();
     this.Character = character;
     this.DeadlockMovement = new DynamicWander
     {
         Character = this.Character,
         MaxAcceleration = 10.0f
     };
     this.Targeters = new List<Targeter>();
     this.Decomposers = new List<Decomposer>();
     this.Constraints = new List<Constraint>();
 }