Ejemplo n.º 1
0
 public MyBotNavigation()
 {
     this.m_path = new MyPathSteering(this);
     this.m_steerings.Add(this.m_path);
     this.m_aiming            = new MyBotAiming(this);
     this.m_stuckDetection    = new MyStuckDetection(0.05f, MathHelper.ToRadians((float)2f));
     this.m_destinationSphere = new MyDestinationSphere(ref Vector3D.Zero, 0f);
     this.m_wasStopped        = false;
 }
Ejemplo n.º 2
0
        public MyBotNavigation()
        {
            m_steerings = new List <MySteeringBase>();

            m_path = new MyPathSteering(this);
            m_steerings.Add(m_path);

            //m_steerings.Add(new MyCollisionDetectionSteering(this));

            m_aiming         = new MyBotAiming(this);
            m_stuckDetection = new MyStuckDetection(0.01f, MathHelper.ToRadians(2f));

            m_destinationSphere = new MyDestinationSphere(ref Vector3D.Zero, 0.0f);

            m_wasStopped = false;
        }
Ejemplo n.º 3
0
        public MyBotNavigation()
        {
            m_steerings = new List<MySteeringBase>();

            m_path = new MyPathSteering(this);
            m_steerings.Add(m_path);

            //m_steerings.Add(new MyCollisionDetectionSteering(this));

            m_aiming = new MyBotAiming(this);
            m_stuckDetection = new MyStuckDetection(0.05f, MathHelper.ToRadians(2f));

            m_destinationSphere = new MyDestinationSphere(ref Vector3D.Zero, 0.0f);

            m_wasStopped = false;
        }