PDA

View Full Version : Rotate Arm bone


Vishav
12-21-2017, 07:19 AM
Dear all,

I need to spin arm bone of my avatar so that avatar can show something kept parallel to it. The parallel object is at eye height. So when i rotate arm it is looking so bad and long. I am using following code
My code is:
handup= vizact.boneSpinTo(armBoneR,mode=viz.AVATAR_LOCAL, euler=(-40,10,60),speed=60)
fingerup= vizact.boneSpinTo(armBoneRF,mode=viz.AVATAR_LOCAL, euler=(-30,0,90),speed=60)

h1=avatar.runAction(handup)
h2=avatar.runAction(fingerup)

Is there any other option to make it looking decent. Adding picture for reference.

Please do help

Vishav

Jeff
01-07-2018, 04:53 AM
How many bones are in the arm hierarchy and which bone are you applying the spin to?