Quantcast
Channel: Answers by "TheNoobieWaffle"
Viewing all articles
Browse latest Browse all 21

Answer by TheNoobieWaffle

$
0
0
Use the Continuously Compounded Interest in this situation. www.mathwarehouse.com/compound-interest/continuously-compounded-interest.php float value = 362.4f; float rate = .95f; void Update() { float *= rate; } can be redone as float e = 2.71828f;//Do not change. This is a constant. float value = 362.4f; float rate = -.05f; void Update() { value *= Mathf.Pow(e, rate*Time.deltaTime*50);//Multiplied by 50 because its rather slow }

Viewing all articles
Browse latest Browse all 21

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>