WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   walkto command with stepType (https://forum.worldviz.com/showthread.php?t=413)

vsully 09-15-2005 09:26 AM

walkto command with stepType
 
Seems like there's a bug with the .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:
Code:

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

vsully 09-15-2005 02:09 PM

thanks much


All times are GMT -7. The time now is 12:38 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC