Browse Source

updated walker script

main
cailean 10 months ago
parent
commit
5829f1912a
  1. 2
      Assets/7_Scripts/Agent/Walker.cs

2
Assets/7_Scripts/Agent/Walker.cs

@ -370,7 +370,7 @@ public class Walker : Agent
} }
else if (m_SelectedBrain == Brain.Treadmill) else if (m_SelectedBrain == Brain.Treadmill)
{ {
Debug.Log(DistanceFromTarget(5f)); //Debug.Log(DistanceFromTarget(5f));
AddReward(matchSpeedReward * lookAtTargetReward * DistanceFromTarget(5f)); AddReward(matchSpeedReward * lookAtTargetReward * DistanceFromTarget(5f));
} }
} }

Loading…
Cancel
Save