protected override void Ability() { //ROCKETBOOST YEAH gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.forward * BoostForce, ForceMode.VelocityChange); //AUDIO YEAH rocketBoost.Play(); //OVERHEAT YEAH heatGen.ChangeHeat(heatGenerated, heatScalar); }
protected override void Ability() { gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.down * downforceFactor, ForceMode.Impulse); heatGen.ChangeHeat(heatGenerated, heatScalar); }
protected override void Ability() { gameObject.GetComponent <Rigidbody>().AddRelativeForce(Vector3.forward * overclockFactor * Time.deltaTime, ForceMode.Acceleration); heatGen.ChangeHeat(heatGenerated, heatScalar); }