action_end_event and the mysterious viz.ActionData
Hi,
I have an avatar, and when I issue it an action/animation to play I .unlock() the headbone to give the action access to the head. After, I've set up a action_end_event callback to .lock() the head again so other operations can apply their manual transformations. However, the "action" parameter for the callback function is given a viz.ActionData object, and I can't find information on how to access this object's data. I'd like to know which action (id?) has just ended. Thoughts? Oh yes. And one other problem is that Thanks. |
Hi,
You are mixing the term action and animation together, when they are two separate concepts. Vizard comes with the ability to create high-level actions that can be added to any node object. Take a look in the documentation under the Actions section for more info. In addition to this, avatars have the low-level ability to play/blend built-in animations. When you call Code:
#Create an action that will execute animation 5 Hope this explains everything for you. I know that the documentation on this stuff is very sparse, so let me know if something is not clear. |
All times are GMT -7. The time now is 05:01 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC