WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Rotate Arm bone (https://forum.worldviz.com/showthread.php?t=6095)

Vishav 12-21-2017 06:19 AM

Rotate Arm bone
 
1 Attachment(s)
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 03:53 AM

How many bones are in the arm hierarchy and which bone are you applying the spin to?


All times are GMT -7. The time now is 08:11 PM.

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