Quantcast
Channel: Questions in topic: "behind"
Viewing all articles
Browse latest Browse all 97

Object follow behind other object, wont stop spinning

$
0
0
I want to keep the yellow square in the same position relative to the purple box. So in this case to keep behind it, and it works. But the yellow square wont stop spinning around it's own Y axis transform.position = (player.transform.position + Vector3(0,0,-1)); transform.RotateAround (player.transform.position, Vector3.up, player.transform.eulerAngles.y); ![alt text][1] [1]: /storage/temp/13611-purple.jpg

Viewing all articles
Browse latest Browse all 97

Trending Articles



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