๐งต Maya mel / Studio Library
Anonymous at Fri, 14 Jun 2024 11:05:09 UTC No. 986759
I'm having an annoying issue with studio library, probably me using it wrongly. If I add a run animation to a character in a scene, so I don't have to animated it every time, it snaps back to where the root is, and aligning it so you can't tell afterwards is a problem.
So I wanted to make a Mel script to create a locator at the current position of the character, then constrain the root to that position so the character will end up in the same place, but I can't get this fucking Mel garbage to work. Even examples online just give me syntax errors.
Now I'm just trying to select the locator and set its translateY to 0, but how to I set the position of either a named object, or the selection?
spaceLocator -p 0 0 0 -name FuckYouMaya;
parentConstraint -skipRotate x -skipRotate z Character:RootX_M FuckYouMaya;
select -r FuckYouMayat_parentConstraint1 ;
delete;
select -r FuckYouMaya
SetAttr //what goes here?
Anonymous at Sat, 15 Jun 2024 11:34:11 UTC No. 986846
wrong place to ask for help bud.
Anonymous at Mon, 15 Jul 2024 17:52:01 UTC No. 989865
>>986759
no