I am new Corona, and I had a question about rotating objects. I have managed to get my object to rate when it is tapped on, but it rotates around the center point of that object. What I am trying to do might be very confusing, but I feel like someone on this forum will understand
Here’s a diagram rather than explaining everything:
http://piczasso.com/i/wm7r4.png
The square is an object, but other objects cannot interact with it, so I would presume I just dont make it a physics object. The second object is the rectangle in front of the square. This rectangle IS a physics object and other objects can interact with it. I want to make it so that when the square is tapped, both the square and rectangle rotate. But I dont want the rectangle to rotate in relation to its center point, I want it to move with the square so that it is always adjacent to the side of the square. If this doesn’t make any sense, I will happily draw another diagram.
Thanks !
Alex [import]uid: 7116 topic_id: 5604 reply_id: 305604[/import]