Hi!
Is it possible to use bone.lookat for bones other than the head? I use the following code to always point the hand towards an object but it stays perpendicular!
Code:
def lookAtBall():
bone = avatar.getBone('Bip01 L Forearm')
bone.lock();
bone.lookat(ball.getPosition(),0,viz.ABS_GLOBAL)
vizact.ontimer(.5,lookAtBall)
Could you give me some hints why it's not working?
Best,
Omid