Added debug log and a few todos
This commit is contained in:
@ -26,7 +26,7 @@ public class MovementController : MonoBehaviour
|
||||
goToNextNavPoint(MapManager.navPoints[Random.Range(0, MapManager.navPoints.Count)]);
|
||||
}
|
||||
|
||||
private NavPoint getPointCandidate()
|
||||
private NavPoint getPointCandidate() // todo тут нужно, чтобы выдавался массив точек
|
||||
{
|
||||
var NavPointsPositions = MapManager.navPoints
|
||||
.Select(point => point.transform.position)
|
||||
|
@ -32,6 +32,7 @@ public class NPC : Agent
|
||||
sensor.AddObservation(Condition.ArmourPoints);
|
||||
sensor.AddObservation(Condition.Ammunition);
|
||||
sensor.AddObservation((int)Condition.npcState);
|
||||
Debug.Log("Sensors: " + sensor);
|
||||
}
|
||||
|
||||
public override void Heuristic(in ActionBuffers actionsOut)
|
||||
|
Reference in New Issue
Block a user