There is a preference in the Transform Properties to have the transform tool 
modify the object's pivot.

You can try this if you don't mind your object's pivot being modified.

P.S. This option is used by the Maya interaction mode.
--
Brent

From: [email protected] 
[mailto:[email protected]] On Behalf Of Ciaran Moloney
Sent: 24 October 2012 10:04
To: [email protected]
Subject: Re: Scripting question

Yeah, it looks like the interactive pivot overrides the pivot parameters of the 
kinematics property. It lives in its own universe. Confusing...
On Wed, Oct 24, 2012 at 7:23 AM, Szabolcs Matefy 
<[email protected]<mailto:[email protected]>> wrote:
But I'm afraid that the current pivot (the one the artist repositioned with the 
ALT key) is not accessible. It would be really nice to have it...

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Martin
Sent: Monday, October 22, 2012 9:40 AM

To: [email protected]<mailto:[email protected]>
Subject: Re: Scripting question

Hi,

That's the Center position, which is not the same as the obj's pivot.

obj.posx.value = Center Position in X
obj.pposx.value = Pivot Local Position in X (distance from the obj center)

btw,
obj.pposx.value = obj.kinematics.local.pposx.value

M.Yara




On Sat, Oct 20, 2012 at 8:52 PM, julien carmagnac 
<[email protected]<mailto:[email protected]>> wrote:
Hi
Correct me if i'm wrong but your pivot position is your object position, that 
you can get with kinematics ("myObj.Kinematics.Local.posx.Value", etc.).

2012/10/18 Szabolcs Matefy <[email protected]<mailto:[email protected]>>
Thanks, that was I afraid of...thanks anyway!

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of patrick nethercoat
Sent: Thursday, October 18, 2012 2:22 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: Scripting question

AFAIK pivot position is transient, only related to a specific transformation. 
You can set it with scripting but it doesn't get stored.
On 18 October 2012 13:10, Szabolcs Matefy 
<[email protected]<mailto:[email protected]>> wrote:
Hi

I need to get the position of the pivot...is it possible to get it via 
scripting?


Cheers


Szabolcs
___
This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and delete 
this e-mail from your system. E-mail transmission cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
destroyed, arrive late or incomplete, or contain viruses. The sender therefore 
does not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version. Crytek GmbH - 
http://www.crytek.com - Grüneburgweg 16-18, 60322 Frankfurt - HRB77322 
Amtsgericht Frankfurt a. Main- UST IdentNr.: DE20432461 - Geschaeftsfuehrer: 
Avni Yerli, Cevat Yerli, Faruk Yerli






--
- Ciaran

<<attachment: winmail.dat>>

Reply via email to