WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   question regarding actions (https://forum.worldviz.com/showthread.php?t=1421)

dan12345 03-26-2008 02:04 AM

question regarding actions
 
hi i want to implement the following -
an avatar walks, and when she finishes walking i immediately manually
manipulate the bones.
(locking the bones, and then changing their angles - no motion)
how can i do this?

do i have to create an action ( i.e. a new class )
just for the simple few line code ( which won't need any update etc. properties ), or is there some other way to make things happen
once actions end?

thanks, dan

farshizzo 03-26-2008 11:28 AM

You can handle the viz.ACTION_END_EVENT to know when the walk action is finished and start manipulating the bones using a timer or whichever method you prefer. Have a look in the docs for sample code using the viz.ACTION_END_EVENT.


All times are GMT -7. The time now is 05:14 AM.

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