Car customization should fully work
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user