Quantcast
Channel: Answers for "My object wont move when I use transform.translate."
Viewing all articles
Browse latest Browse all 6

Answer by robertbu

$
0
0
I'm not sure how far you think it should translate, but you only translating it about 0.1. (6.0 * 1/60). In addition you call Destory() on the same game object this script is attached to, so another frame is not displayed (and therefore you don't see movement).

Viewing all articles
Browse latest Browse all 6

Trending Articles



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