WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Avatar bone rotations respect to world (https://forum.worldviz.com/showthread.php?t=505)

MiamiTodd 02-08-2006 01:10 PM

Avatar bone rotations respect to world
 
I would like to get in orientation information on a persons limb orientations and map those values to the bones of an avatar. However, the information I am getting in will only be the orientations. When I make the changes, I would like to just be able to specify the final orientation of the limb segment and have the bone be set to this, but retain the positional information so that the limb segments don't end up in different portions of the world.

Is there a way to perform such transformations in Vizard?

Thanks,
Todd

farshizzo 02-10-2006 12:39 PM

Hi,

You can specify the rotation of a bone in world coordinates. Just use the viz.ABSOLUTE_WORLD flag when applying the rotation.
Code:

bone.rotate(0,1,0,90,viz.ABSOLUTE_WORLD)
There have been bugs with applying an absolute rotation to a bone. They have been fixed in 3.0.

MiamiTodd 02-14-2006 06:03 AM

By 3.0 do you mean release 2.53? If not when will 3.0 be available?

farshizzo 02-14-2006 10:41 AM

Hi,

No, 3.0 is an all new release which should be available this summer.


All times are GMT -7. The time now is 11:55 AM.

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