I have a rectangle, which I have made a physics body.
I need to rotate the rectangle, with its reference point at its tip, to get a clock-hand-like effect.
But apparently you can’t set reference point for physics bodies.
What do I do here?
One work-around suggested was <a href = http://forums.coronalabs.com/topic/32895-using-eg-topleftalign-on-a-physics-body-only-applies-to-its-appearance-not-its-body-help/> to create a fake object and get the positions from there</a>
That is good for a single one-time rotation. I need to continously rotate the object using transition.to.
How do I achieve this?
Seems a major flaw in physics, unless I’m missing something pretty basic.