WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   Pausing and stepping through avatar animations (

Vbents 11-01-2005 10:22 PM

Pausing and stepping through avatar animations
I am trying to make an avatar squat/bend/duck given a dynamic height (i.e. the lower the height, the more the avatar appears to be squatting or kneeling or something). I would like to use the built in sitting-down animation, but I don't see anyway to have the avatar jump to a certain frame in the animation and stay in that pose.

If this is not possible, is there another recommendation for changing the avatar height which is more realistic than simply scaling or translating the entire body?

-Ben Trombley

farshizzo 11-02-2005 09:44 AM


Weird, I just finished adding this functionality to Vizard, but it won't be available until version 3.0.

In the meantime, your only option would be to manually control the bones for each animation. Vizard allows you to get a handle to a bone and apply translations and rotations to it. Let me know if you need further help with this.

Vbents 11-02-2005 09:49 PM

bug in bone.unlock()?
Every time I use .unlock() the bone is no longer movable. Here is an example:

bone.rotate(0, 1, 0, -1, viz.RELATIVE_LOCAL)

which does nothing. Is this a glitch in .unlock()?


farshizzo 11-03-2005 09:14 AM


You need to keep the bone locked for your manual rotations to take effect. Once you unlock a bone, all your previously applied transformation will be overridden by the avatars current animation state. So try the following instead:

bone.rotate(0, 1, 0, -1, viz.RELATIVE_LOCAL)

All times are GMT -7. The time now is 05:44 PM.

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