WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-08-2015, 03:47 PM
SivaKartheek SivaKartheek is offline
Member
 
Join Date: Oct 2015
Posts: 17
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 (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
Reply With Quote
  #2  
Old 12-09-2015, 11:32 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,465
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)
Reply With Quote
  #3  
Old 12-10-2015, 09:10 AM
SivaKartheek SivaKartheek is offline
Member
 
Join Date: Oct 2015
Posts: 17
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
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with walking women avatars armo Vizard 6 04-07-2015 08:38 AM
Vizard tech tip: Blinking Avatars Jeff Vizard 3 11-24-2009 02:16 PM
How to make avatars to follow terrain while walking? yyang Vizard 1 08-04-2008 03:54 PM
Avatars in an array and link/unlink betancourtb82 Vizard 7 09-05-2006 05:06 PM
Walking avatars --> collision detection? sjroorda Vizard 3 10-13-2005 05:47 AM


All times are GMT -7. The time now is 03:21 PM.


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