WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 10-13-2003, 05:54 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
mmmmm..... ice cream

This sample code will link an object to an avatar bone:
Code:
avatar = viz.add('female.cfg')
link = viz.add(viz.GROUP)
cone = link.add('IceCream.wrl')
avatar.linkbone(link,'Right Hand')
If you need to orientate the object after it is linked, you have to perform the tranformation on the cone object. Also in the example above I linked the ice cream cone to the bone named Right Hand, so make sure you change this to whatever you named the bone in Character Studio.
Reply With Quote
 


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


All times are GMT -7. The time now is 06:44 AM.


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