Exemple #1
0
 public void JumpDrive(float a_strength)
 {
     GetComponent <Rigidbody>().velocity += m_attachments.transform.forward * a_strength;
     sa.PlayBoost();
     //DELTA: Removed in favor of interpolation
     //sa.IncVol ();
     //StartCoroutine (DriveRoutine (a_strength));
 }
 public void JumpDrive(float a_strength)
 {
     rigidbody.velocity += m_attachments.transform.forward * a_strength;
     sa.PlayBoost();
 }