示例#1
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();

            m_destinationSphere = new MyDestinationSphere(ref Vector3D.Zero, 0.0f);
        }
        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();

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