Center of Rotation
sdpardue
Member Posts: 110
Trying to figure out how to set the the center of rotation for an actor, or if it's even possible.
Now the point about which the actor revolves is its center (AKA its position). Is it possible to reset the rotation point to the actor's top-left corner, for example, or ideally an expression yielding any other X,Y coordinates on the screen?
Just curious.
Steve
Now the point about which the actor revolves is its center (AKA its position). Is it possible to reset the rotation point to the actor's top-left corner, for example, or ideally an expression yielding any other X,Y coordinates on the screen?
Just curious.
Steve
Comments
If you want to mimic rotation around some other point, you would need to throw in some math on the angle to rotate while moving the center point.
You might find this helpful: http://gamesalad.com/wiki/how_to_gsc_circular_movement
Old fashioned work around? Make your bitmaps with an invisible counterweight on the opposite side
Thought that does throw off the collision detection potential