Yes, set it to 0,(whatever the size of your sprite is) with setOrigin to set the origin of your sprite to its bottom left corner.
Isn't he supposed to set it to the sprites height?
Sprite.setOrigin(0, Sprite.getTextureRect().height);
Yes, set it to 0,(whatever the size of your sprite is) with setOrigin to set the origin of your sprite to its bottom left corner.
Isn't he supposed to set it to the sprites height?
Sprite.setOrigin(0, Sprite.getTextureRect().height);
I'm sure that's what he meant by 'size' :)