Hey, I've been experimenting with rotating and scaling BufferedImages with the affineTransform, but I wasn't sure how to do both a scale and rotation at the same time.
This is an extract of my code:
At the moment it seems to be ignoring the first thing (scale) and only applying the second (rotation). How do I get it to do both?Code:
collisionObjAt = new AffineTransform();
collisionObjTransform = new AffineTransformOp(collisionObjAt, AffineTransformOp.TYPE_BILINEAR);