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