PDA

View Full Version : question regarding actions


dan12345
03-26-2008, 02:04 AM
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.