- Home /
Question by
hardmode2236 · Feb 15, 2015 at 08:19 PM ·
transformaxislookataim
aiming a transform on one axis.
this is a recurring mechanic for me, whats a good, fast way to aim at something along only one axis?
as for right now i just use transform.LookAt() then zero out the 2 unused axis. this seems like a waste though, is there a better way to achieve this?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613183408im_/https://answers.unity.com/themes/thub/images/avi.jpg)