Replies: 7 comments 1 reply
-
We will look into this. Thank you for reporting. |
Beta Was this translation helpful? Give feedback.
-
Hi @Ark-Dem I tested this out on my end and it seems to be working as expected for me. One thing that could be happening is that when you create the stage from file, it automatically selects the stage transform instead of the mesh prim. 2024-02-21.08-40-03.mp4 |
Beta Was this translation helpful? Give feedback.
-
Hi @santosd, that's because you didn't Freeze Transforms of your cube before exporting. This way it matches the "only solution" I've mentioned above - set the pivot where you need, move the object so that this pivot is in the origin, freeze transforms, then move the object back to its original place - this way Transform Manipulator looks to be in proper place, but it's technically in (0,0,0)... it's just the whole object with pivot is translated, it has non-zero transforms. That doesn't match Maya behavior where you can have zero transforms and manipulator still follows the custom pivot position. Try Freeze Transform right before exporting your cube to usd and you will get my situation. |
Beta Was this translation helpful? Give feedback.
-
I've noticed this: if the object has rotatePivot and scalePivot with different values (that happens when you move pivot for the object with scale other than (1,1,1)), usd writes pivot in this manner:
and everything works fine, manipulator matches. If rotatePivot and scalePivot have the same value (moving pivot for non-scaled object or making Freeze Transforms), the pivot is written like this: So, it seems that manipulator respects xformOp:translate:rotatePivot & xformOp:translate:scalePivot, but doesn't respect xformOp:translate:pivot. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to add that we are seeing the same behaviour as @Ark-Dem. It's been that way for many versions of the plugin now, and we've clumsily got around it by telling our artists not to modify any pivots. Or if they do, they must use Maya's Bake Pivot command on the object. This is quite limiting to our desired workflow, it would be great to get this addressed. |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce the issue and do see that the translate is being captured but it seems that the translate handles are not being displayed where the pivot should be. I will log this issue internally for the team to take a look at. |
Beta Was this translation helpful? Give feedback.
-
Logged EMSUSD-1046 internally for the team to take a look at and see if we can get this fixed. |
Beta Was this translation helpful? Give feedback.
-
(Maya 2024.2, Win10, mayaUSD 0.27.0)
For maya object a transform manipulator follows its pivot, but after exporting to usd it appears at the origin while transformations still work correctly around this custom pivot.
The only option right now seems to be to move the asset so that custom pivot is at the origin (freeze transformations have to be done which can be a big pain) before exporting... or to suck up.
It would be great to make transform manipulator behave the same way for usd objects as it does for maya objects.
Here's a visual example of the issue...
That's maya "door" object with pivot set to "hinges":
After exporting to USD it works like this:
The only solution I've found is to move it to the origin and freeze transforms before exporting to usd (not ideal for many assets):
Beta Was this translation helpful? Give feedback.
All reactions