How do I rotate around a point and not the center of an actor?
FlyboyTrevy_
Member, PRO Posts: 148
So lets say you have a rectangle, and you want to rotate the rectangle from the right side (right side if it was laying landscape) of it as if it were on a hinge, rather than from the center. The Rotate attribute rotates the object evenly from the center of the object. Any way to do this?
Comments
Constrain X position to
-( self.Size.Width /2)*cos( self.Time *AAA)+BBB
Constrain Y position to
-( self.Size.Width /2)*sin( self.Time *AAA)+BBB
Constrain rotation to
self.Time *100
. . . . .
AAA = speed of rotation
BBB = centre point of rotation (hinge)