WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 08-02-2006, 09:40 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Will you please provide us with a script that recreates the disappearing hands problem. I would like to get this fixed as soon as possible. Please include all your resources in the sample. Also, which version of Vizard are you using?

If you want to billboard an avatar with a face attached it is probably best to manually perform the billboarding. Here is a sample script that shows how to perform this:
Code:
import viz
viz.go()

male = viz.add('male.cfg')
face = viz.add('biohead_talk.vzf')

male.setFace(face)

def BillboardAvatar():
	p1 = male.getPosition()
	p2 = viz.MainView.getPosition()
	angle = vizmat.AngleToPoint(p1[0],p1[2],p2[0],p2[2])
	male.setEuler(angle,0,0)
vizact.ontimer(0,BillboardAvatar)
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 03:41 PM.


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