I want to fill the Hand Object with the gained data of the WebSocket JSON string
public Hand(long frameID,
_ int id,_
_ float confidence,_
_ float grabStrength,_
_ float grabAngle,_
_ float pinchStrength,_
_ float pinchDistance,_
_ float palmWidth,_
_ bool isLeft,_
_ float timeVisible,_
_ Arm arm,_
_ List fingers,_
_ Vector palmPosition,_
_ Vector stabilizedPalmPosition,_
_ Vector palmVelocity,_
_ Vector palmNormal,_
_ LeapQuaternion palmOrientation,_
_ Vector direction,_
_ Vector wristPosition)_
but there is no palmOrientation defined in the JSON.
I am trying now to create these value with something like
_Quaternion palmOrientation = Quaternion.FromToRotation(new UnityEngine.Vector3(1, -1, 0),_
_ new UnityEngine.Vector3(palmNormal.x, palmNormal.y, palmNormal.z).normalized);_
but it is still not the perfect solution to get palmOrientation