Motor speed vector -> blue
This commit is contained in:
parent
7162e8b3a7
commit
9d92767786
@ -27,7 +27,7 @@ namespace NanoBrain.Braitenberg {
|
||||
return;
|
||||
|
||||
this.speed = motorNeuron.outputValue.z;
|
||||
Debug.DrawRay(this.transform.position, this.transform.forward * this.speed, Color.magenta);
|
||||
Debug.DrawRay(this.transform.position, this.transform.forward * this.speed, Color.blue);
|
||||
|
||||
float desiredRpm = speed * 60; // target wheel RPM
|
||||
float currentRpm = wheelCollider.rpm;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user