Quantcast
Channel: Answers for "shooting script error (java)"
Browsing latest articles
Browse All 4 View Live

Answer by Mike 3

AddForce, not AddforceOne small tip though, change:var bullit = Instantiate(bullitPrefab ...tovar bullit : Transform = Instantiate(bullitPrefab ...and you will get compiler errors from the line below...

View Article


Answer by Borgo

Hi!!its not Java, its Javascript (its very diferent).Try to cut out the "rigidbody" in this line:bullit.rigidbody.Addforce(transform.forward * 2000);In the docs:var clone : Rigidbody; clone =...

View Article

Browsing latest articles
Browse All 4 View Live


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