[Bf-python] Object.getEuler() bug?

Michel Selten michel.s at home.nl
Thu Aug 14 10:37:27 CEST 2003


On Thu, 2003-08-14 at 00:46, Stephen Swaney wrote:
> I was just browsing thru the lovely epydoc generated docs
> and playing with python.  I noticed that for a rotated object
> the getEuler() method always returned (0.0, 0.0, 0.0 ).
> 
> Looking at the code, the method seems to be returning the
> deltaRot values.  Is this incorrect or is my understanding of Euler
> angles hopelessly wrong?

Oh boy, grumble, grumble. This function I probably wrote while looking
outside. Indeed this is a mistake in the code. This fix will have to
wait for 2.29.

Luckily for you, you can use the variable .RotX, .RotY, .RotZ and .rot
for the same values.

With regards,
	Michel





More information about the Bf-python mailing list