Quantcast
Channel: Questions in topic: "framerate drops"
Viewing all articles
Browse latest Browse all 141

Drop in performance when checking velocity of rigidbody.,Performance drop when checking velocity of rigidbody.

$
0
0
if (GetComponent().velocity.y == 0) { transform.Translate(Input.GetAxis("Horizontal") * Time.deltaTime * speed, 0, Input.GetAxis("Vertical") * Time.deltaTime * speed); } // When I use this in my jump script it makes my framerate inconsistent and jittery.

Viewing all articles
Browse latest Browse all 141

Trending Articles



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