From: Bruce S. <Bru...@nc...> - 2008-12-05 03:36:27
|
I think you need to give more information. I don't know what I'm supposed to do to see the "weird behavior", nor do I know in what way it is "weird". Bruce Sherwood Stef Mientki wrote: > hello, > > I'm having trouble rotating a frame > In the following code, "my frame" is a frame that contains a box called > "bed" (and other objects) > When I use this code to rotate the box, parallel to the y-axis around > the center of the box: > > my_frame.rotate ( angle = a * displace.mag, > origin = my_frame.pos+bed.pos, axis = (0,1,0 )) > > it works as long as the frame is not moved. > After moving the frame, some weird rotation behavior occurs. > > Has anyone a working solution ? > > thanks, > Stef Mientki |