ViewportTransform trouble

Discuss issues specific the Java port of Box2D
Posts: 356
Joined: Mon Jun 08, 2009 12:21 pm

ViewportTransform trouble

Postby toucansam » Sun Aug 16, 2009 12:17 am

So I'm finding myself a little stuck after making the viewporttransform demo. I've implemented the same type of transformations in a different drawing environment, and it worked just fine, but for some reason the worldMouse is not getting set correctly at all. It almost seems like it gets rotated twice.

Also it seems like the images aren't getting rotated properly, which is strange because they scale from the same matrix they should be rotating from.

Let me know if you have any ideas, or if you see what's wrong.


Return to “Java”

Who is online

Users browsing this forum: No registered users and 2 guests