請問...

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

版主: h2o, stantang

請問...

文章hatalo » 3日 4月 2006年, 02:00

請問各位高手Bigbrother幫下忙...
跟著份notes 做做到EXpression 唔識攪.. :o


particleShape1.indexPP=rand(0,3);
vector $vec = abs << loctor1.rotX, locator1.rotY, locator1.rotZ>>;
particleShape1.rotateIncPP=rand(-1* $vec, $vec);


it said syntax error?


pls see attactment file.
nil
hatalo
討論區新秀
討論區新秀
 
文章: 9
註冊時間: 3日 4月 2006年, 01:40
來自: nil

Share On:

Share on Facebook Facebook Share on Twitter Twitter

文章HammerChugoh » 3日 4月 2006年, 17:31

I don't have maya with me, but it seems

vector $vec = abs << loctor1.rotX, locator1.rotY, locator1.rotZ>>; is not the correct way to decare a vector variable.

I could be wrong though
Houdini, please do the magic.
www.cgwiki.jot.com
HammerChugoh
CGV討論區會員
CGV討論區會員
 
文章: 272
註冊時間: 27日 7月 2002年, 06:50
來自: La La land

文章stantang » 3日 4月 2006年, 18:59

HammerChugoh 寫:I don't have maya with me, but it seems

vector $vec = abs << loctor1.rotX, locator1.rotY, locator1.rotZ>>; is not the correct way to decare a vector variable.

I could be wrong though


I don't have maya with me either, but I think you can try this instead.

vector $vec = abs(<< locator1.rotX, locator1.rotY, locator1.rotZ>>);
頭像
stantang
討論區主持
討論區主持
 
文章: 1566
註冊時間: 8日 11月 2001年, 08:00
來自: Groom Lake

文章hatalo » 3日 4月 2006年, 22:29

Ok la thank you very much :P
nil
hatalo
討論區新秀
討論區新秀
 
文章: 9
註冊時間: 3日 4月 2006年, 01:40
來自: nil


回到 Autodesk Maya

誰在線上

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