Quantcast
Channel: Questions in topic: "rotating"
Viewing all articles
Browse latest Browse all 173

How do I rotate quads belonging to GameObject?

$
0
0
Hi all, I have a game object containing 3 quads, each positioned at 0.002 of each other in the Z axis as to act like layers (think photoshop). These quads have materials which have transparent parts, and when put on top of each other, they form a picture/texture. I would like to rotate one of the quads in a specific direction and another quad in the opposite direction. I know how to do this for a game object, I use its transform.Rotate(x,y,z), but I don't know how to do this for the quads belonging to the GameObject, I do not know how to access the quads themselves using a C# script within the GameObject itself. If anyone could enlighten me on the subject, I would be very grateful. Regards Crouz

Viewing all articles
Browse latest Browse all 173

Trending Articles



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