public override void AgentReset() { ResultLogger.AddTry(); if (area != null) { area.Reset(); } }
public void ResetForTraining() { agentParameters.maxStep = 1200; HeldAlready = false; robotArm.Reset(); robotArm.RandomRotation(); SetupEvents(); vehicle.transform.localPosition = new Vector3(0, 0.15f, 0); vehicle.transform.localEulerAngles = new Vector3(0, 0, 0); brainConfig = 1; ResultLogger.AddTry(); }