Car customization should fully work

This commit is contained in:
2024-04-23 13:03:15 +02:00
parent 5eb69aaa38
commit 83ae0f6e22
14 changed files with 2118 additions and 273 deletions

View File

@@ -33,8 +33,7 @@ public class AgentControllerV6 : Agent
public int distanceBetweenCheckpoints = 5;
public bool ignoreMentalPain = false;
// Start is called before the first frame update
void Start()
void Awake()
{
rigidBody = GetComponent<Rigidbody>();
// Find all child GameObjects that have the WheelControl script attached
@@ -42,7 +41,11 @@ public class AgentControllerV6 : Agent
startPosition = transform.localPosition;
startRotation = transform.localRotation;
}
protected override void OnDisable()
{
return;
}
public override void OnEpisodeBegin()