WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
Old 04-26-2018, 06:51 AM
tianmoran tianmoran is offline
Join Date: Nov 2016
Posts: 16
Unhappy Avatar animation -- change states


I want to change my avatar's states according to conditions. However, there are some problems with the codes:
def ani_change():
	female1 = viz.add('Avatars/Avatars/CC2_f001_hipoly_A1_v2.cfg')
	bloNo = 10
	Code = [0,1,0,1,0,1,0,1,0,1]
	for block in range(bloNo):
		if Code[block] == 0:
			female1.execute(8,0,0,freeze =  True)
		elif Code[block] == 1:
			female1.execute(3,0,0, freeze = False)
			yield viztask.waitTime(3)
			for j in range(10):
				yield viztask.waitTime(float(j/2))
			yield viztask.waitTime(0.5)
		yield viztask.waitTime(5)

Here are the problems:
1) The avatar's states don't change;

2) The amplitude of the avatar's movement decrease across different trials. Eg. The highest point that her arm could reach is always lower than in the previous trial.

Many thanks!
Reply With Quote

aavatar, animation

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
Walking Animation of Avatar pradeep Vizard 1 07-03-2014 03:35 AM
Clarification on CAL3D Avatar Animation in Vizard shivanangel Vizard 2 11-22-2010 07:16 AM
Collision and avatar animation shahramy Vizard 2 10-26-2010 11:47 PM
changing between avatar states dan12345 Vizard 1 06-23-2008 01:39 PM
avatar animation problems jrodman Vizard 1 01-18-2006 09:12 AM

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

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