A small readonly record struct that represents an IK or mocap arm solution. It stores shoulder, elbow, and wrist positions, wrist rotation, a numeric reach error, and evidence flags for shoulder and elbow joints.
using System;
using System.Numerics;
using HumanoidMocap.Core.Maths;
namespace HumanoidMocap.Core.Motion;
using Vector3 = System.Numerics.Vector3;
public readonly record struct ArmSolution(Vector3 Shoulder,Vector3 Elbow,Vector3 Wrist,
Quaternion WristRotation,float ReachError,JointEvidence ShoulderEvidence,JointEvidence ElbowEvidence);