Reputation: 823
How do you make the CGrect for a sprite expand with a sprite as it is running CCScaleBy. For me, the CGrect just stays in it's original position while the sprite expands.
Upvotes: 1
Views: 241
Reputation: 929
Use the boundingBox cgrect. It should have all transformations of the sprite. CGRect r = [sprite boundingBox];
Upvotes: 2