WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
Old 11-18-2004, 12:53 PM
crazyrusso crazyrusso is offline
Join Date: Oct 2004
Posts: 2
active avatar functions while networking

Dear Vizard Support,

I am trying to have an avatar walk to HEAD_POS of another computer. Basically just like the Duck networking example, expect it is avatars and I am trying to make them walk there, and then back.

so i am using...

female.walkto(x, 0, z) #x,z are passes through network, and they are the values of HEAD_POS
female.walkto(-1.65,.5,-1.05) # starting and finishing location

my avatar does nothing, it does not walk over or back or anything

please help
Reply With Quote
Old 11-18-2004, 01:08 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

The walkto function creates a walk action which you can later apply to an avatar. Here's what your code should look like:
#Create a walk action to the start location (only need to create this once)
WalkToOrigin = female.walkto(-1.65,.5,-1.05)

#Create a walk action to the network head position (need to create this every time)
WalkToHead = female.walkto(x,0,z)

#Apply walk actions to avatar
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

All times are GMT -7. The time now is 03:26 AM.

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