From: alessandro <bom...@gm...> - 2009-04-18 17:50:09
|
OK. now it works. But I must write like this: while alfa < 102*pi/180: rate(30) scene.forward = scene.forward.rotate(angle=-alfa*pi/180, axis=(0,1,0)) alfa += pi/180 why 102 instead of 90? With 90 the rotation in not pi/2 but lesser. Bruce Sherwood ha scritto: > The angle used by rotations must be in radians, not degrees. > > You want ....rotate(angle=alfa*pi/180, .... > |