expression script 的問題

各Maya用戶可在這裡交流問題和分享制作經驗

版主: h2o, stantang

expression script 的問題

文章philipcheng » 17日 12月 2007年, 03:42

我洛左呢個program 之後
if(body.CloseOrOpenEye>0){

body.CloseOrOpenEye=makeNurbSphere1.endSweep-body.CloseOrOpenEye;
body.CloseOrOpenEye=makeNurbSphere1.startSweep+body.CloseOrOpenEye;
}if(body.CloseOrOpenEye<0){

body.CloseOrOpenEye=makeNurbSphere1.endSweep+body.CloseOrOpenEye;
body.CloseOrOpenEye=makeNurbSphere1.startSweep-body.CloseOrOpenEye;
}

唔知點解我打唔入d數值去CloseOrOpenEye入面
附加檔案
001.jpg
001.jpg (202.51 KiB) 被瀏覽 2396 次
philipcheng
CGV討論區會員
CGV討論區會員
 
文章: 331
註冊時間: 7日 4月 2007年, 13:38
來自: Hong Kong

Share On:

Share on Facebook Facebook Share on Twitter Twitter

文章stantang » 17日 12月 2007年, 08:39

That's because the attribute is taken control by your expression. You should setup another keyable attribute to control the "body.CloseOrOpenEye". you can call it as something like "eyeControl".
dig deep, think deeper
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake


回到 Autodesk Maya

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 2 位訪客