Hi; On Wed, 2008-01-16 at 23:19 +0100, Alejandro Serrano wrote: > Yes, I'm using the 0.5 / 0.6 API. > The point I don't really understand is the following: > 1. I set the centre of rotation to the center of the object > 2. Then I call set_rotation with some argument > 3. Then I change the centre of rotation to a corner > > On this point, will the object stay rotated the same angle over the > center of the object? > > 4. Then I call set_rotation again > > On this point, will the resulting position of the object be the result > of adding the rotation over the centre and the rotation over the corner?
Nope, it will just be the new rotation you set. If you want some kind of cumulative type transform Id do something like; add the actor to a group, rotate the actor with the first transform, then the second rotation the group and so on adding more groups if needed. Note, with just the single child, the group will have the same dimensions as the contained actor. == Matthew -- To unsubscribe send a mail to [EMAIL PROTECTED]
