Quantcast
Channel: Questions in topic: "javascipt"
Viewing all articles
Browse latest Browse all 1875

Speedometer is not accurate

$
0
0
So these lines of codes should show me the current meters per second of my player, but the actual float just doesnt seem right. What I mean is that, when idle, the value is something random such as: **1.376649e-05** not 0? And when walking the value also changes constantly. The code that im using that every post seems to recommend var vel: Vector3 = rb.velocity; vel.y = 0; mph = vel.magnitude * 2.237;

Viewing all articles
Browse latest Browse all 1875

Trending Articles



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