PDA

View Full Version : Max Script for Rotation


JVictor
01-24-2009, 01:56 PM
Hi!!! somebody can help me? i make this to move:


-----------
move $Bone01 [(sld.value)-xkoord,0,0]
xkoord=sld.value
--------


how i make this to ROTATE???

thanks!!

PEN
01-26-2009, 12:19 PM
Look in the help file and you will find the command rotate.

Apophis3d
01-26-2009, 09:17 PM
You looking to rotate joint axis?

If so try this mel script.

To get back joints all going the same way.
1) Select local rotation axis (component mode)
2) MEL: rotate -r -os 180 0 0

doh max, ignore my post then

Polimeno
01-26-2009, 10:48 PM
Hi!!! somebody can help me? i make this to move:

-----------
move $Bone01 [(sld.value)-xkoord,0,0]
xkoord=sld.value
--------


how i make this to ROTATE???

thanks!!

olá, não sei o que você está tentando fazer,
mas pelo que parece quer linkar e controlar a rotação de um bone por um slider...... isso ?

de repente com wire parameters fica mais facil e mais rápido.....posta alguma screen....


teste:



--teste usando seleção um -- The_Selection = selection[1]

theObj = $ --coloque_nome_de_seu_Objeto aqui

rotationValue = eulerangles 90 0 0

in coordsys world rotate theObj rotaValue -- rotação via coordenada mundo
--teste usando local -- in coordsys local rotate theObj rotationValue

ENGLISH:

are you wanna link a slider to the rotation of bone ?? if yes, i think you can do better with wire parameters....

better if you post screen...

CGTalk Moderation
01-26-2009, 10:48 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.