Hi,
I am trying to make something like light rays. I created a bunch of very very narrow, kind of long triangles as the rays. I want the rays to start or have an origin from the top of the screen.
However.....when I rotate the rays, or kind of fan them out, using the Z axis, they rotate about the center of the triangle (shape).....
Is there a way to rotate about a certain point in a shape (here, a very narrow and long triangle?
Thanks,
VidEZ
Set the Rotation Point
Re: Set the Rotation Point
Imagine where you want the point of rotation to be then move that position to the centre of the screen. Then apply your rotation and move the element to wherever you need it. There is an order of operations when dealing with transforms.
Re: Set the Rotation Point
There are many examples of this in the sample projects.