   Squashing and Image
  Is it possible to squash a 2D texture along a diagonal axis?I have an image of a bubble that I want to squash when it hits another bubble, I can scale the X and Y axis no bother so its fine for horizontal or vertical collisions. But if the bubbles collide at any sort of angle I cant find a way to squash the image into an oval shape. I can't rotate the texture because their are obvious marks on it and it wouldn't look right.Anyone any ideas?   
  Assuming you can modify the geometry to which the texture is attached, you can just create a transform matrix that will scale the geometry along an arbitrary axis. (Post back if you need details on how to do this.)   ;  The shape of the geometry the texture is attached to has to be a regular box. I'm pretty sure this isn't possible, i just said id ask just in case.   ;Quote:Original post by TiddlypeepsThe shape of the geometry the texture is attached to has to be a regular box. I'm pretty sure this isn't possible, i just said id ask just in case.What API are you using for graphics?   ;  Cocos2D.   