![]() |
|
#1
|
|||
|
|||
Hi Jeff. The commands did not activate the animation. In looking at the code you suggested, I didn't see anything that indicates which animation to run. Was I supposed to include other code?
Thanks, --Frank |
#2
|
|||
|
|||
Try getting a handle to the animation as a child object and apply the commands to that:
Code:
animation = drone.getChild('Take 001') |
#3
|
|||
|
|||
I tried the following:
Code:
animation = drone.getChild('Take 001') animation.setAnimationLoopMode(1) vizact.onkeydown(' ',animation.setAnimationState,viz.TOGGLE) Code:
animation = drone.getChild('Take 001') animation.setAnimationLoopMode(1) vizact.onkeydown(' ',drone.setAnimationState,viz.TOGGLE) Don't know if this is relevant to the problem at hand, but just in case, here is an observation. The drone model has four propellers. I get no error messages, but I do get the following informational messages in the Interactive Window when I press the spacebar: LinkVisitor links 3 for "Drone_propeller1" LinkVisitor links 3 for "Drone_propeller2" LinkVisitor links 3 for "Drone_propeller3" LinkVisitor links 3 for "Drone_propeller4" Thanks for your help --Frank |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get head of the avatar models alone | carlosppamaral | Vizard | 3 | 03-23-2014 03:05 PM |
Two animations performed by avatar at the same time | michelcm3 | Vizard | 1 | 09-21-2007 09:51 AM |
avatar animations | vduckie | Vizard | 12 | 02-27-2006 01:32 PM |
Pausing and stepping through avatar animations | Vbents | Vizard | 3 | 11-03-2005 09:14 AM |
More on avatar animations | vjonshih | Vizard | 3 | 09-20-2004 04:37 PM |