Quantcast
Channel: Answers by "doomprodigy"
Viewing all articles
Browse latest Browse all 90

Answer by doomprodigy

$
0
0

Unsure if this is what you are looking for but to stop an object moving on the Y Axis use.

transform.eulerAngles = new Vector3(0,transform.eulerAngles.y,0);

Untested*

Peace, Aaron Lewis


Viewing all articles
Browse latest Browse all 90

Trending Articles



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