Преглед на файлове

Update Whiskers_agents_tilemap_v4.c

Rudy Boudewijn van Etten преди 4 години
родител
ревизия
47d22f3d0f
променени са 1 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 6 2
      ai/Whiskers_agents_tilemap_v4.c

+ 6 - 2
ai/Whiskers_agents_tilemap_v4.c

@@ -8,8 +8,12 @@
 
 
 //
 //
 // Here I addded a trail. somewhere in the trial I check if the whiskers touch this spot and block that whisker than
 // Here I addded a trail. somewhere in the trial I check if the whiskers touch this spot and block that whisker than
-// from being selected for a new direction. 
-//
+// from being selected for a new direction. The trail are two arrays of a x and y integer. The top position
+// is filled with the current ai's position. Before this is inserted the array is shifted down, this so the
+// path history is saved.
+// This current version is not tweaked into taking into account different movement speeds. This because if
+// the ai moves faster/slower it means the collision with the whiskers and the collision point would be
+// in a diffent spot(break)
 //
 //
 
 
 //
 //