whecreator.blogg.se

Unparent maya python
Unparent maya python










unparent maya python

Getting Global Values from Parented Object

unparent maya python

Is there any way to unparent in python without losing the global position?

unparent maya python

What's strange is that it's lost the offset in X of 150, as though it's transforms have been reset. If i unparent the null via the GUI, the Interest stays put, however if i do this in script, the Null returns to 0,0,0. LTempCamInterest.SetVector (FBVector3d(0,0,0), FBModelTransformationMatrix.kModelRotation, False) LTempCamInterest.SetVector( FBVector3d(150,0,0), FBModelTransformationMatrix.kModelTranslation, False) I was able to do this to a parented null successfully with this: The quickest route I could find, is to parent the null to the camera, then set it's transforms to zero as you would in Maya. I'm trying to create a camera interest that is oriented to the camera, but offset along the viewing axis. Apologies for posting 2 issues together, but one sort of leads into the other.












Unparent maya python