WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Regarding Walking Action of Avatars (https://forum.worldviz.com/showthread.php?t=5575)

SivaKartheek 12-08-2015 02:47 PM

Regarding Walking Action of Avatars
 
Hello Everyone,

Good Morning , I am having some problem with walking action. Even though my position and my code is correct the avatar is not walking according to the point that i have given :confused::confused:(avatar is roaming inside the model and after that reaching the final point)
The avatar walks properly for the first time but for the same code and same points the avatars walks in a different way.

can anyone please give me some suggestions how can i resolve this problem



Thank you

Jeff 12-09-2015 10:32 PM

Depending on the initial orientation of the avatar, the path it takes to reach the final point may vary because of the turns it has to make. Is this what you're describing? You can force the avatar to turn in place and face the destination point before it starts walking. Either use the vizact.turn command or set the turnInPlace argument to True:

Code:

walk = vizact.walkTo([0,0,15],turnInPlace=True)

SivaKartheek 12-10-2015 08:10 AM

Thanks jeff but my question is not abut that.

Actually I arranged 40 pedestrains in a list and then i have a data of 40 avatars in a xml file. Some avatars are moving properly and then reaching destination but some of them are rotating some time and then reaching destination . I don't Understand why they are rotating like that
if you know regarding this , can you please give me an idea why the avatars behaving like that

thankyou


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

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