Operation Spark Posted March 17, 2016 Share Posted March 17, 2016 Is it possible to tween the bounding box of a sprite? We have a character that jumps, and when in the jump sequence, there's transparent pixels under the character that we don't want to count as hit area. I know that through `asset.body.setSize()` I can change the size of the bounding box, but where are these properties on the sprite such that I can tween them to and from? Any exmples of this? Thanks! Link to comment Share on other sites More sharing options...
AzraelTycka Posted March 17, 2016 Share Posted March 17, 2016 Hello, sprite.body.width, sprite.body.height. Isn't that what you are looking for? Link to comment Share on other sites More sharing options...
Recommended Posts