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; }
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; }
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; }