Quantcast
Channel: Answers by "lodendsg"
Viewing all articles
Browse latest Browse all 102

Answer by lodendsg

$
0
0
Not sure if I fallow correctly but if you wanted a vector local to the gameObject.transform it would be `posn = posn - transform;` which in your code above would be the same as post = new Vector3(Random.Range(-10,10), 0, Random.Range(-10,10));

Viewing all articles
Browse latest Browse all 102

Trending Articles



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