[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/3/ - 3DCG

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


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?
>>
wrong place to ask for help bud.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.