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