Okay, so I have a couple power-ups here. One increases your size, the other decreases it. The problem I am running into is that the hitbox does not stay in the right position.
When the height increases, the hitbox ends up a foot too low. It's the right size, just it moves down, and I can't get it back up onto the player properly. So, he ends up standing a foot off the ground.
When the height decreases, the opposite happens. The hitbox ends up a foot too high, and he sinks in the ground.
I have the player pinned to the hitbox at the start of the layout.
I set the first power-up to increase scale when touched. It sets the scale of the player to 0.9 and the hitbox to 1.2. That makes them a little bigger and about the right size.
I set the other power-up to decrease the player's scale to 0.5, and the hitbox to 0.7. It makes them smaller, as it should.
How do I get the hitbox to be in the right position? I tried a few things with set position, pin and unpin, and whatnot, but nothing really made it move to the right position. It always ends up either a foot too high or too low.