|
From: Stef M. <s.m...@ru...> - 2008-12-04 23:46:25
|
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
|