[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] rotate around point



Hi Ricardo,

pretty simple with some vector math:


as far as I know pygame has no built-in support, but opengl has, another way would be using numpy: http://numpy.scipy.org/

Cheers
Enno


Am 20.08.2012 um 22:10 schrieb Ricardo Franco:

Hi, I need to rotate around a specific point.
It's a person animation. So the arms should rotate over the shoulders' point.
How to do that?

--
Ricardo Franco Andrade             @ricardokrieg

( Game | Desktop | Web ) Developer

email: ricardo.krieg@xxxxxxxxx
contact: +55 (86) 9958 9725
             +55 (86) 9436 0830 
twitter: twitter.com/ricardokrieg