Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Perpendicular rotation

$
0
0
Hey, my question is how do i instantaite the object, so that the spawn would always be perpendicular to another object, and rotation as well. I want the Y axis to alwyas be perpendicular to the line, even if the line has rotated. Its simply a Ray, drawn from one gameObject, to another.

Image:
Here you can see that the y axis is not perpendicular to the line, and im having this bullet rotation problem.
http://s3.postimg.org/okebhlr83/Left.png


-Thanks!...

Perpendicular rotation

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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