Beispiel #1
0
 void Awake()
 {
     steering = GetComponent <Steering>();
 }
Beispiel #2
0
 public void SetSteering(Steering steering, float weight)
 {
     this.steering.linear  += (weight * steering.linear);
     this.steering.angular += (weight * steering.angular);
 }