WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #9  
Old 08-08-2017, 08:03 AM
krimble krimble is offline
Member
 
Join Date: Nov 2006
Location: Nijmegen
Posts: 63
Hi Jeff,
I'm using vizact.boneSpinTo as well and I'm experiencing problems with it as well.

I would like to have an avatar pointing at a certain location.

Code:
import viz
viz.go()

point = vizact.boneSpinTo('Bip01 R UpperArm',mode=viz.AVATAR_LOCAL,point=viz.MainView.getPosition(),speed=90)

#Add avatar
model = viz.add('vcc_female.cfg',euler=(180,0,0))

def mykeyboard(key):
	if key == " " :
		model.runAction(point)
		
viz.callback(viz.KEYBOARD_EVENT,mykeyboard)

Troubles:
1: The avatar is not pointing at the correct location
2: The avatar is pointing at a different positions while the position of the mainview not changes.

Could you please help me with this?

Best, Jeroen
Max Planck Institute Nijmegen
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Exporting OSGB Animations via Sequence Helper (3Ds Max) envi253 Vizard 1 06-05-2015 11:31 AM
osg Sequence TarkaDahl Vizard 4 09-01-2011 01:45 AM
how to freeze sequence of actions dwaik Vizard 1 04-05-2010 01:26 PM
stopping a sequence durf Vizard 1 04-14-2009 01:31 PM
Weird lagging/choppiness when avatars perform actions vjonshih Vizard 8 11-30-2004 04:08 PM


All times are GMT -7. The time now is 11:10 AM.


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