Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

addforce results in different speeds in build and inspector

$
0
0
i have tried adding Time.deltaTime but that only results in making the object go even slower, when i test the game on the inspector the momentum works just fine, but once i create a build and try the same thing my object goes a lot slower if (Input.GetKey("w")) { rb.AddForce(transform.forward * moveforward); } if (Input.GetKey("s")) { rb.AddForce(transform.forward * -moveback); }

Viewing all articles
Browse latest Browse all 4084

Trending Articles



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