- Home /
How do I rotate quads belonging to GameObject?
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
Your answer
Follow this Question
Related Questions
rotate with alt doesnt work 15 Answers
rotate transform toward a desired direction 2 Answers
Rotating Object not colliding? 1 Answer
How to not go below the grid in scene view 1 Answer
LookRotation is Returning Weird Values 0 Answers