}
// Fell off platform
if (this.transform.localPosition.y < 0)
else if (this.transform.localPosition.y < 0)
{
EndEpisode();
AddReward(1.0f);
if (hitObjects.Where(col => col.gameObject.tag == "pit").ToArray().Length == 1)
else if (hitObjects.Where(col => col.gameObject.tag == "pit").ToArray().Length == 1)
AddReward(-1f);