|
|
|
|
|
|
if (gameObject.GetComponent<Brain>().brainParameters.vectorActionSpaceType == StateType.continuous) |
|
|
|
{ |
|
|
|
List<float> act = new List<float>(); |
|
|
|
// state[5] is the velocity of the ball in the x orientation. We use this number to control the Platform's z axis rotation speed,
|
|
|
|
|
|
|
|
// state[5] is the velocity of the ball in the x orientation.
|
|
|
|
// We use this number to control the Platform's z axis rotation speed,
|
|
|
|
// state[7] is the velocity of the ball in the z orientation. We use this number to control the Platform's x axis rotation speed,
|
|
|
|
|
|
|
|
// state[7] is the velocity of the ball in the z orientation.
|
|
|
|
// We use this number to control the Platform's x axis rotation speed,
|
|
|
|
|
|
|
|
|
|
|
|
// If the vector action space type is discrete, then we don't do anything.
|
|
|
|
else |
|
|
|
{ |
|
|
|