#1
|
|||
|
|||
avatar walking over a sequence of points
Hello,
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: Code:
def walkRoute(self,avatar,route): ... for point in route: actions.append(vizact.walkTo(point.x,0,point.z) avatar.addAction(vizact.sequence(actions)) |
|
|
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 |