Ejemplo n.º 1
0
 public override void Pursue(Pursuee pursuee)
 {
     state                = State.Pursue;
     this.pursuee         = pursuee;
     waypoints            = npc.Simulation.NavMesh.FindPath(npc.Position, pursuee.Object.Position, NavMeshNode(npc.Position), pursuee.RegionNode);
     currentWaypointIndex = 1;
     pursueUpdateAcc      = 0f;
     //Console.WriteLine("Pursuing " + pursuee.Object.Position + " (#" + id++ + ", wp " + (waypoints != null ? "!=" : "==") + " null)");
     IssueMotionLevelCommand();
 }
Ejemplo n.º 2
0
 public override void Pursue(Pursuee pursuee)
 {
     state = State.Pursue;
     this.pursuee = pursuee;
     waypoints = npc.Simulation.NavMesh.FindPath(npc.Position, pursuee.Object.Position, NavMeshNode(npc.Position), pursuee.RegionNode);
     currentWaypointIndex = 1;
     pursueUpdateAcc = 0f;
     //Console.WriteLine("Pursuing " + pursuee.Object.Position + " (#" + id++ + ", wp " + (waypoints != null ? "!=" : "==") + " null)");
     IssueMotionLevelCommand();
 }
Ejemplo n.º 3
0
 public override void Pursue(Pursuee pursuee)
 {
     state = State.Pursue;
     this.pursuee = pursuee;
 }
Ejemplo n.º 4
0
 public abstract void Pursue(Pursuee pursuee);
Ejemplo n.º 5
0
 public override void Pursue(Pursuee pursuee)
 {
     state = State.Pursue;
     this.pursuee = pursuee;
     npc.navMeshLevelGoalState.Pursue(pursuee);
 }
Ejemplo n.º 6
0
 public override void Pursue(Pursuee pursuee)
 {
     state        = State.Pursue;
     this.pursuee = pursuee;
 }
Ejemplo n.º 7
0
 public override void Pursue(Pursuee pursuee)
 {
     state        = State.Pursue;
     this.pursuee = pursuee;
     npc.navMeshLevelGoalState.Pursue(pursuee);
 }
Ejemplo n.º 8
0
 public abstract void Pursue(Pursuee pursuee);