![]() |
|
#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 |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Change model alpha and memory leak | hosier | Vizard | 2 | 06-25-2009 11:55 AM |
| Successful Cal3D Export But Texture Problems | ezanih | Plug-in development | 2 | 01-26-2009 05:28 PM |
| Cal3D Stereo Bug? | shivanangel | Vizard | 3 | 10-30-2008 08:38 AM |
| Incampatible CAL3D files | luakt | Vizard | 4 | 09-15-2008 12:28 AM |
| importing avatars with cal3d | marcoleon | Vizard | 15 | 04-28-2006 05:48 PM |