![]() |
Problems Ending Animation
Hi,
So I'm running code so that an avatar runs a series of random animations one after another until the user signals the animations to stop with a key press. The problem comes up after the user has signaled the animations to stop. It stops the current animation, and then starts up a new one. This is even after I have told it to clearActions(). Perhaps I don't have a good grasp on how the action list works with the viz.FOREVER parameter. Code:
teacher = viz.addAvatar('avatars/teacher/teacher1/teacher.cfg') Thanks in advance! |
atalantis,
as far as I know you cannot control avatar animations with the action library commands. Look for commands related to avatar animations. Examples are: I hope this helps! |
The default idle animation for the avatar is 1. It looks like you want animation 7 to be the idle animation. Use the following to change the idle animation:
Code:
teacher.idlepose(7) |
All times are GMT -7. The time now is 07:26 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC