Quantcast
Channel: Questions in topic: "javascripting"
Viewing all articles
Browse latest Browse all 105

Rotate Y over time

$
0
0
There is lots of post on this and I cant get it to work function Increment() { Count++; if(Count == CountTo) { //if(Gate.transform.Rotate != (0,90,0)) //{ Gate.transform.Rotate(0, 90, 0); //} } } That is what I have currently. It just goes from A-B instantly. If I move it to update() and use Time.deltaTime * 100 in the Y it does nothing. Am I missing something stupid? Also, I know my commented out if is bad. I am also looking into querying the Y value alone. Any ideas?

Viewing all articles
Browse latest Browse all 105

Trending Articles



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