PDA

View Full Version : Complete Characters Following Camera


vTony
10-14-2008, 03:05 PM
Hi, I'm running into a weird problem when I try to use some complete character avatars. After I convert them from .max with the Cal3D exporter, they seem to follow the camera around when I use them in a Vizard script. For example, if I do:

import viz
viz.go()
a1 = viz.add('vcc_male.cfg')
a2 = viz.add('../avatars/confederate/casual01_m_mediumpoly/casual01_m_mediumpoly.cfg')

... a1 stays in place but a2 follows the mainview around. I'm assuming it has something to do with the way I exported the avatars from 3ds max. Any ideas on what specifically could be causing this? Thanks!

farshizzo
10-14-2008, 03:58 PM
I think the problem might be that the scale on your avatar is very large, which makes it look like it is following the viewpoint. If you look in the vcc_male.cfg file there should be a line that looks like this:scale=0.01Try adding something similar to your cfg file and see if this helps.

vTony
10-15-2008, 11:43 PM
That fixed it. Thanks!