WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-03-2020, 03:57 AM
Gusgus Gusgus is offline
Registered User
 
Join Date: May 2019
Posts: 1
For me I changed it to .osgb format and from there I found the node in the inspector that has the corresponding animation (that had the name "Drawer_5") and then grabbed that node with the <3dmodel>.getChild() method and set the state to 1. You can see all of the states, that is animations, in the inspector for the corresponding node. For example for this node there were two states ("0 - [none]" and "1 - Take 001") which are indexed for you (0,1,2 etc.) in the inspector. Maybe this is not what you are looking for but I didn't find anything about this in the Vizard documentation.
So:
drawer = vizfx.addChild("drawer.osgb")#Load a drawer 3D model to the scene
animation = drawer.getChild('Drawer_5')#grab the node that has the animations
animation.state(1)#set it to whatever animation that is within that node
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -7. The time now is 12:25 AM.


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