Help Needed With Rotating
AA app company
Member Posts: 73
I have four separate actors which form a square (each is a side). I need them to rotate both left and right together as if they were a square.
Comments
Hi, I made a demo for you. Just touch the screen somewhere and drag. The actors will follow the angle from your touch to the center and also the distance from the center.
Have a look at the code. There is some math but the rest is pretty simple so you should be able to implement that in your own project.
Lump Apps and My Assets
Beaten to it by Lump !! : )
. . . here's my interpretation:
Link: https://www.mediafire.com/?41ttzu5ewdwam8s
Drag the red controller left and right.
Thankyou for your help @Socks @LumpApps . With your template @LumpApps how can I make it so that when you let go it stays where it is.
(Not at a computer right now) you can put the Constrain x, y and such on a rule that does when mouse is up.
Lump Apps and My Assets