Compare commits
No commits in common. "9d92767786b68cfe05aeee99a1ccc7f36c2f4776" and "74aa48b446f03a2b3e8567c654fac7be8df85651" have entirely different histories.
9d92767786
...
74aa48b446
File diff suppressed because it is too large
Load Diff
@ -642,7 +642,7 @@ BoxCollider:
|
|||||||
m_LayerOverridePriority: 0
|
m_LayerOverridePriority: 0
|
||||||
m_IsTrigger: 0
|
m_IsTrigger: 0
|
||||||
m_ProvidesContacts: 0
|
m_ProvidesContacts: 0
|
||||||
m_Enabled: 1
|
m_Enabled: 0
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_Size: {x: 1, y: 1, z: 1}
|
m_Size: {x: 1, y: 1, z: 1}
|
||||||
m_Center: {x: 0, y: 0, z: 0}
|
m_Center: {x: 0, y: 0, z: 0}
|
||||||
|
|||||||
@ -27,7 +27,7 @@ namespace NanoBrain.Braitenberg {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
this.speed = motorNeuron.outputValue.z;
|
this.speed = motorNeuron.outputValue.z;
|
||||||
Debug.DrawRay(this.transform.position, this.transform.forward * this.speed, Color.blue);
|
Debug.DrawRay(this.transform.position, this.transform.forward * this.speed, Color.magenta);
|
||||||
|
|
||||||
float desiredRpm = speed * 60; // target wheel RPM
|
float desiredRpm = speed * 60; // target wheel RPM
|
||||||
float currentRpm = wheelCollider.rpm;
|
float currentRpm = wheelCollider.rpm;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user