WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-27-2008, 08:42 PM
k_iwan k_iwan is offline
Member
 
Join Date: May 2006
Posts: 115
Unhappy It's not working...?

I pasted my code here. The guy is supposedly running around making a big circle, but he only stretches his arms while sliding around.

Code:
import viz
import math

iwan = []
for i in range(20):
	n = [math.sin(i)*1, 0, math.cos(i)+1]
	iwan.append(n)
	
print iwan

male = viz.add('male.cfg')
male.idlepose(12) #Use animation 12 as the idle pose

for each in iwan:
	print "male.act(vizact.walkto(",each,"))"
	male.addAction(vizact.walkto(each, 1.5, 90, 2)) # 2=walking anim
	
if __name__ == "__main__":
	viz.go()
Could someone tell me where the mistakes that I made in my script?
Thank you very much.
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
Animation Tracks.... k_iwan Vizard 2 03-26-2007 05:52 PM
Jumpy animation Elizabeth S Vizard 1 11-08-2006 02:11 PM
animation sequence pkhoosh Vizard 2 01-23-2006 08:03 AM
avatar animation problems jrodman Vizard 1 01-18-2006 09:12 AM
Making an avatar speak while performing an idling animation vr_boyko Vizard 1 10-05-2004 04:23 PM


All times are GMT -7. The time now is 04:58 AM.


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