WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-11-2008, 08:25 AM
Enlil Enlil is offline
Member
 
Join Date: May 2008
Posts: 61
Thanks! That helps a lot.

Christian
Reply With Quote
  #2  
Old 07-28-2010, 12:15 PM
cade_mccall cade_mccall is offline
Member
 
Join Date: Sep 2004
Posts: 61
does idlepose still work?

When I run the following code, the avatar still pops out of the animation between standing and walking:

import viz

viz.go()

avatar = viz.add('vcc_male.cfg')
avatar.idlepose( -1 )
standing = vizact.animation( 1 )
walking = vizact.walkTo( [0,0,10] )
seq = vizact.sequence( [standing, walking] )
avatar.addAction( seq )
Reply With Quote
  #3  
Old 08-06-2010, 12:42 PM
masaki masaki is offline
Member
 
Join Date: Jan 2008
Posts: 63
hey mama,

this is sort of a hack but it works. i think what's happening is that when your first animation finishes and before it starts the second one, it reverts back to the avatar's current state, which in your case is a t-pose. so,set the avatar's state to whatever animation you're transitioning out of, in your case state(1) right before adding the action.

Code:
import viz

viz.go()

avatar = viz.add('vcc_male.cfg')
avatar.idlepose( -1 )
standing = vizact.animation( 1 )
walking = vizact.walkTo( [0,0,10] )
seq = vizact.sequence( [standing, walking] )
avatar.state(1)
avatar.addAction( seq )
best,
masaki
Reply With Quote
Reply

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
Strange Speak animation and VRML rendering zoltantoth Vizard 2 04-19-2007 10:24 AM
Animation Tracks.... k_iwan Vizard 2 03-26-2007 05:52 PM
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 02:35 PM.


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