Tagged Questions
1
vote
2answers
116 views
Pygame's rotation methods have crippling issues, but is it me or Python's pygame?
http://www.youtube.com/watch?v=lNJFxvR6ex8&feature=youtu.be
On rotate and rotozoom, can't find fixes on these on the internet, anywhere.
Basically, the video is showing 4 things in this order:
1. ...
-5
votes
1answer
118 views
is object facing another object or facing it in opposite direction?
In 2d, in degrees, negative degrees possible.
What I want is to rotate the player to face the same direction as the door before opening it, but when I'll do the same again now from the opposite side, ...
1
vote
1answer
291 views
OpenGL: Rotating cannon about non-centre position?
So I have a "cannon" object (basically a long cylinder) and I want to be able to control its angle. The code I have now is:
glPushMatrix()
glTranslatef(self.position.x,2.5,self.position.z)
...