Re: pivot and pivot compensation

2013-10-12 Thread Jon Swindells
h in enumerate(Application.Selection): #print 'resetting pivot for object: {0} - {1}'.format(i, each.name) resetPivot(each.Kinematics.Local) Application.SetValue(params, values) [/code] On 12 October 2013 07:13, Jon Swindells wrote: > > > If i recall correctly, you

Re: pivot and pivot compensation

2013-10-11 Thread Jon Swindells
If i recall correctly, you need to invMul your pivot against the neutral pose so it's compensated then zero out the pivot params memory is a fickle thing though so i could be way off. :) On 12 October 2013 06:37, Matt Lind wrote: > Anybody know how the pivot and pivot compensation va

pivot and pivot compensation

2013-10-11 Thread Matt Lind
Anybody know how the pivot and pivot compensation values are computed for an object? I'm trying to write a tool to freeze scaling, reset pivot, reset neutral pose, and so on for an entire scene. I've got everything working except resetting the pivot only because I don't know