![]() |
|
#9
|
|||
|
|||
|
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 |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Trouble Exporting OSGB Animations via Sequence Helper (3Ds Max) | envi253 | Vizard | 1 | 06-05-2015 12:31 PM |
| osg Sequence | TarkaDahl | Vizard | 4 | 09-01-2011 02:45 AM |
| how to freeze sequence of actions | dwaik | Vizard | 1 | 04-05-2010 02:26 PM |
| stopping a sequence | durf | Vizard | 1 | 04-14-2009 02:31 PM |
| Weird lagging/choppiness when avatars perform actions | vjonshih | Vizard | 8 | 11-30-2004 05:08 PM |