Not sure what you're referring to. Can you offer a simple test program?
The following test works properly:
a = arrow(color=color.green)
print a.axis
scene.mouse.getclick()
a.rotate(axis=(0,0,1), angle=pi/2)
print a.axis
The first print gives <1,0,0>, and the second gives <6e-17,1,0>, which
is essentially <0,1,0>.
Bruce Sherwood
chris lyon wrote:
> After you have performed a rotate on an object is there a way of
> extracting the rotated angle from the object?
> Axis is not affected and there doesn't seem to be a way of discovering
> how much an object has been rotated once it's been done.
>
>
|