Snap to Center when Dropped
I'm sure it's something super easy that i'm missing but I can't for the live of me figure it out.
Let's say i have an object called SmallSquare (which is a small square) and i have object called LargeSquare (which is indeed a large square).
I add a state called "Dropped" to SmallSquare and I change the size of the object in that state to the same (larger) dimensions of the larger square.
I put a trigger on SmallSquare that says change the state of SmallSquare to Dropped when SmallSquare is Dropped on LargeSquare.
The effect i'm going for is that whe you drop the small square on the large square if "covers it up".
The only problem I am having is that when I do that and SmallSquare changes to state Dropped, the center of the object (in that state) remains in the same spot as when it was in it's normal, smaller state.
The result being that the SmallSquare in state Dropped does not COVER the LargeSquare, but is offset by maybe 50 pixels (the size difference between the normal and the dropped states)
In case that description was as clear as mud, i've attached an example.
Any ideas would be much appreciated!