WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-10-2010, 10:42 AM
Philippe Philippe is offline
Member
 
Join Date: Jul 2010
Posts: 12
lookat and threads status

Hi.

We get some troubles using lookat. We originally thought that after calling lookat with some parameters, when calling to lookat with new parameters, the new position will be immediately updated.

But when we used a sequence of the type:

{method with lookat}
{method with walkTo}
{method with lookat}
{method with walkTo}
{method with lookat}
{method with walkTo}

we obtained some kind of strange behavior, where the direction of the head came later than the change in the walkTo, even though all the methods above were in one <vizact>.sequence. The head was totally distorted in a very strange manner, no matter how we chose the lookat x,y,z point. We finally succeeded to find a workaround by splitting one of the walkTo path in two, in order to have the Avatar smoothly moving its head (and not having it looking completely backwards as it happened). In other words, not the change of the lookat x,y,z made the change in the head movement, but splitting the walkTo in sub paths (it seems like the lookat was not immediately updated and was stuck in the previous x,y,z definition).
This leads me to another (more general) question: when a thread (like lookat or walkTo) is launched, is there a way to know whether it is still active and what is its status ?

Thanks.
__________________
Thanks,

Philippe
Reply With Quote
 


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


All times are GMT -7. The time now is 07:10 PM.


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