View Full Version : transforming doesn't seem to be working
Manic Ant 03-14-2006, 09:59 PM i've got a maxscript recorded, that should move my simple mouth rig into an O shape, however despite having been fine before, now it won't move things up and down. the control points 'mouth left ctrl', 'mouth right ctrl' and 'mouth bottom ctrl' just won't budge, despite the listener saying they worked fine, whilst they'll move fine along the X axis. have i somehow locked the Y axis without realising?
here's the script;
select $'mouth right corner ctrl'
move $ [-3.71982,0,0]
select $'mouth left corner ctrl'
move $ [3.52965,0,0]
select $'mouth left ctrl'
select $'mouth right ctrl'
move $ [0,1.84512,0]
select $'mouth bottom ctrl'
move $ [0,-2.44832,0]
cheers for any help,
Martin
|
|
Manic Ant
03-15-2006, 02:06 PM
no one got any ideas? i really can't carry on with my project properly without this working
JHaywood
03-16-2006, 02:41 PM
In Max, Z is up and down, not Y. All you're Z values are zero.
But it's best to set the position of an object directly rather than using the Move command. So you can do something like this:
-- move the object 50 units up
$'mouth right corner ctrl'.pos += [0,0,50]
-- move the object 50 units down
$'mouth right corner ctrl'.pos += [0,0,-50]
-- move the object 50 units positive X
$'mouth right corner ctrl'.pos += [50,0,0]
etc. You get the idea.
stuh505
03-16-2006, 07:35 PM
Can you explain the $'xxx' notation? I can't find anything about it in the reference
marktsang
03-16-2006, 08:44 PM
stuh505 -
the $'XXX' is to include special characters and spaces in names
eg.. $box blah will not work for some object named "box blah"
$'box blah' will work
mark
Manic Ant
03-17-2006, 12:01 PM
aah, cheers i'll give that a try.
thanks for the help
CGTalk Moderation
03-17-2006, 12:01 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.