Exemplo n.º 1
0
 private void Update()
 {
     leftUpper.SetTorque(leftUpperSpeed / 4096f * maxMotorSpeed);
     leftLower.SetTorque(leftLowerSpeed / 4096f * maxMotorSpeed);
     rightUpper.SetTorque(rightUpperSpeed / 4096f * maxMotorSpeed);
     rightLower.SetTorque(rightLowerSpeed / 4096f * maxMotorSpeed);
 }