A small data struct used by the IK LookAt solver. It stores the final world-space rotation to apply to a bone and a boolean indicating whether a valid solution was produced.
namespace BetterIk.Maths;
using Quaternion = System.Numerics.Quaternion;
/// <summary>Output of <see cref="LookAtSolver.Solve"/>.</summary>
public struct LookAtResult
{
/// <summary>Final blended world rotation to assign to the bone.</summary>
public Quaternion BoneRotation;
/// <summary>False only when the target coincides with the bone position (no direction to aim at).</summary>
public bool Solved;
}