WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 10-12-2009, 08:12 AM
IGoudt IGoudt is offline
Join Date: Sep 2009
Posts: 20
avatar walking over a sequence of points


I would like to have an avatar walk over a sequence of points. I have a network of waypoints, which are connected, and a have an algorithm that finds a path from Begin to End. That path is sent to the function walkRoute(self,avatar,route)

I have the following code:
def walkRoute(self,avatar,route):
for point in route:

This code allows the avatar to walkto the points on the route, but the problem that I come across with now is that the avatar resets its walking animation (obviously, since they are independent), but I want to have the animation from walking from A to B being "remembered" for the next walkTo from B to C. How can I achieve that? Should animationpaths be the answer, and if so, how can I connect that with walkactions?
Reply With Quote
Old 10-16-2009, 11:22 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
When creating a walkTo action, if you pass the value of None as the walk animation, then the action will not modify the animation of the avatar. This allows you to manually play the walk animation when the action sequence begins and stop it when it finishes, so the animation will play continuously through all the actions.
Reply With Quote

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
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
Avatar always returns in initial position pattie Vizard 2 08-31-2006 08:15 PM

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

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