WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-14-2013, 12:28 AM
Meneer_Aart Meneer_Aart is offline
Member
 
Join Date: Oct 2011
Posts: 4
avatar walkto interrupt

Hello,

This maybeIs there a way to stop an avatar that's walking from point A to point B "dead in it's tracks"?

My code untill now looks somewhat like this:

Code:
def walk1():
	yield viztask.waitKeyDown( ' ' )
	yield viztask.addAction(avatar, vizact.walkTo([pointA]))
	yield viztask.addAction(avatar, vizact.walkTo([pointB]))
	yield viztask.addAction(avatar, vizact.walkTo([pointC]))
               avatar.state(14)
	yield viztask.waitTime(10)
	viztask.schedule(walk2())

def walk2():
	yield viztask.waitKeyDown( ' ' )
	yield viztask.addAction(avatar, vizact.walkTo([pointD]))
	yield viztask.addAction(avatar, vizact.walkTo([pointE]))
               avatar.state(14)
	yield viztask.waitTime(10)
#main
viztask.schedule(walk1())
So during ANY of the walkto actions i want to be able to stop the avatar where he is, and let him perform some kind of action on that spot.
Reply With Quote
 

Tags
avatar, interrupt, stop, walkto


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
Avatar & Motion Capture Interface Angie Vizard 1 08-05-2010 06:17 PM
avatar scale and link.setpos conflict? sircedric4 Vizard 0 09-29-2009 07:48 AM
Collision of an avatar with a quad Frank Verberne Vizard 8 06-04-2008 09:44 AM
Looking through the eyes of an avatar Frank Verberne Vizard 2 04-01-2008 05:52 AM
How to make avatar's eyes to blink when speaking michelcm3 Vizard 12 01-15-2008 08:48 AM


All times are GMT -7. The time now is 08:17 AM.


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