PDA

View Full Version : walkto command with stepType


vsully
09-15-2005, 09:26 AM
Seems like there's a bug with the <avatar>.walkto command and using stepTypes. In particular, the following vizard script doesn't use the action '4' as indicated...

...

import viz
viz.go()

view = viz.get(viz.MAIN_VIEWPOINT)
view.translate(0,1.6,-2)

male = viz.add('male.cfg')

run = male.walkto([0,0,4],1.7,90,4)
male.act(run)

...

farshizzo
09-15-2005, 01:49 PM
Hi,

It seems as though it doesn't work when you pass a list. I'll fix it for the future release, but in the meantime you can just do the following:
run = male.walkto(0,0,4,1.7,90,4)

vsully
09-15-2005, 02:09 PM
thanks much