Quantcast
Channel: Questions in topic: "issue"
Viewing all articles
Browse latest Browse all 827

mathf.clamp doesn't clamps

$
0
0
mathf.clamp doesn't clamps my value between 0 & 1 i.e it goes beyond 1 upto 1.2 start = Mathf.Clamp (start,0,1); if(Input.touchCount > 0 ) start += Time.deltaTime*3; if (Input.touchCount == 0 ) start -= Time.deltaTime*3;

Viewing all articles
Browse latest Browse all 827

Trending Articles



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