Skip to content
Discussion options

You must be logged in to vote

I don't think this is ever going to be added, having different-sized frames that cause different-sized bounding boxes/colliders. The quad doesn't have anything to do with physics really, it just defines the range of uv inputs that go to the GPU so that it pulls the part of the texture that you want. Whether it gets stretched is controlled by the rest of the rendering code. For example, the scale component changes the screen quad that it gets drawn into, but doesn't change the texture quad, so the chunk of the texture being rendered gets stretched.

If you want it to change size I suggest making two different sprite ids and switching the entire sprite instead of just playing a new animation.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kkkiio
Comment options

@dragoncoder047
Comment options

@lajbel
Comment options

Answer selected by kkkiio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants