Forum: Poser Python Scripting


Subject: rotating object

pauldol opened this issue on Jun 08, 2011 · 9 posts


pauldol posted Thu, 09 June 2011 at 12:05 PM

Quote - Do you mean an object attached to a figure or just a standalone object? Poser suffers from a severe case if gimbal lock. Sure wish the powers that be would fix that ;).

Laurie

 

I use from the poser library: Poser8->Additional Figures-> Hands->RightHand

I guess RightHand is a figure.

However it has many parts: e.g. rThumb1,rIndex0 etc

One of the parts is called "Right Hand". I rotate this object.

I also noticed maybe a bug?

when I execute this command: rightHandActor.SetParameter("Side-Side", -45);

and rightHandActor.SetParameter("Bend", -45); it works fine.

But when I try to alter the "Twist" parameter:

rightHandActor.SetParameter("Twist", -45); it doesn't rotate the object.

I also use scene.DrawAll() but still no effect.

 

Any ideas???

 

Thank you!

Paul