estimateBoneYX
estimateBoneYX(
head
,tail
,axisX
):BoneTransform
Estimate bone position and orientation
Position/translation of bone is defined by its head. Rotation is defined by bone’s basis axes: vector from head to tail gives Y axis, X axis is provided, Z axis is evaluated to form right-handed orthonormal basis.
Parameters
• head: Vector3
Bone’s head (position)
• tail: Vector3
Bone’s tail (end)
• axisX: Vector3
Direction of X axis
Returns
Bone transformation