WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 12-06-2015, 10:30 PM
mamort mamort is offline
Member
 
Join Date: Jun 2015
Posts: 18
A few questions to help understand what you are trying to achieve

1. Why not use the random number as animation state. e.g state(x) instead of if statements?
2. Why do you have waitTime calls, this is seen as bad practice in while loops and could be causing the stuttering?

I would approach as follows.

1. Use random number to assign animation e.g "tree.state(x)"
2. Use "viz.PATH_EVENT" to trigger next animation
3. Use <animationpath>.setPaused() to pause\resume for strong gust

Let me know if that suits\makes sense
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Modifying CAF Animations MissingAFew Vizard 5 06-11-2015 03:46 PM
random coding Saz Vizard 1 05-27-2010 05:44 PM
random speed and associated coding Saz Vizard 1 05-20-2010 04:03 AM
Trouble using custom animations for Live Characters IGoudt Vizard 0 09-24-2009 06:37 AM
problem with female animations vmonkey Vizard 1 10-07-2005 10:36 AM


All times are GMT -7. The time now is 06:35 PM.


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