WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 06-02-2005, 03:31 PM
vadrian vadrian is offline
Member
 
Join Date: Sep 2004
Posts: 32
loading CAF animations

is there a way to load CAF/CAX files from a local directory (instead of copying them to the Vizard program directory)? also, is there a way to set which animation goes to a given state? that is, how can i be sure that avatar.state(14) always does the same animation on different computers (which might have different animations)? is there a way to access animations by name?

-adrian
Reply With Quote
  #2  
Old 06-02-2005, 05:38 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

The cfg file contains a variable path. When animations are loaded the path variable will be prepended to the animation filename. If that path exists in the local directory then it should load fine.

The animation state is determined by the order in which it appears in the cfg file. The first animation file is state 1 and so on.

Currently there is no functionality to get an animation state by name. I can add this to the next release.
Reply With Quote
Reply


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 05:23 AM.


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