![]() |
#2
|
|||
|
|||
I also want to do exactly this. I was unable to figure it out, but here's what I tried:
(assuming "male" is a cal3d avatar with a bone called "Bip01 Head") Code:
import viz import vizmat viz.go() viz.MainView.setPosition(0, 1.8, 1.0) viz.MainView.setEuler(180, 0, 0) headbone = male.getBone("Bip01 Head") trans = vizmat.Transform() trans.setScale(0, 0, 0) headbone.unlock() headbone.setMatrix(trans) my guess (and this is a wild guess) is that at some point in vizard's code they normalize the matrix. |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 10:55 AM |
Successful Cal3D Export But Texture Problems | ezanih | Plug-in development | 2 | 01-26-2009 04:28 PM |
Cal3D Stereo Bug? | shivanangel | Vizard | 3 | 10-30-2008 07:38 AM |
Incampatible CAL3D files | luakt | Vizard | 4 | 09-14-2008 11:28 PM |
importing avatars with cal3d | marcoleon | Vizard | 15 | 04-28-2006 04:48 PM |