Open DatanIMU opened 11 months ago
"/VMC/Ext/Root/Pos", 0.0f, 0.0f, 0.0f, -qHips.x, qHips.y, -qHips.z, -qHips.w
qHips is in unity‘s coordinate.
When I change qHips, the avatar move Very strange.
Could you give me one hand?
The individual bones local orientation is probably different than what your mocap system assumes.
I use QUATERNION to work with NodeOSC, but the skeleton not moving. Could you help me check it?
below is my code: vmcClient.Send("/VMC/Ext/Bone/mode", "RightUpperLeg", "QUATERNION"); vmcClient.Send("/VMC/Ext/Bone/mode", "RightLowerLeg", "QUATERNION"); vmcClient.Send("/VMC/Ext/Bone/mode", "RightFoot", "QUATERNION");
vmcClient.Send("/VMC/Ext/Bone/Pos", "RightUpperLeg", 0.0f, 0.0f, 0.0f, vmcAnimator.udpRoration[(int)vmcBone.RightUpperLeg].x, vmcAnimator.udpRoration[(int)vmcBone.RightUpperLeg].y, vmcAnimator.udpRoration[(int)vmcBone.RightUpperLeg].z, vmcAnimator.udpRoration[(int)vmcBone.RightUpperLeg].w); vmcClient.Send("/VMC/Ext/Bone/Pos", "RightLowerLeg", 0.0f, 0.0f, 0.0f, vmcAnimator.udpRoration[(int)vmcBone.RightLowerLeg].x, vmcAnimator.udpRoration[(int)vmcBone.RightLowerLeg].y, vmcAnimator.udpRoration[(int)vmcBone.RightLowerLeg].z, vmcAnimator.udpRoration[(int)vmcBone.RightLowerLeg].w); vmcClient.Send("/VMC/Ext/Bone/Pos", "RightFoot", 0.0f, 0.0f, 0.0f, vmcAnimator.udpRoration[(int)vmcBone.RightFoot].x, vmcAnimator.udpRoration[(int)vmcBone.RightFoot].y, vmcAnimator.udpRoration[(int)vmcBone.RightFoot].z, vmcAnimator.udpRoration[(int)vmcBone.RightFoot].w);