BetterIk/Skeleton/FabrikChainError.cs

An enum defining possible error states for a FABRIK inverse kinematics chain, such as missing bones or a chain that is too short.

namespace BetterIk.Skeleton;

public enum FabrikChainError
{
    None,
    EndBoneMissing,
    RootBoneNameMissing,

    /// <summary>Walked all the way to the skeleton root without finding a bone named RootBone.</summary>
    RootNotFound,

    /// <summary>Root and end resolved to the same bone (by name) - a chain needs at least 2 bones.</summary>
    ChainTooShort,
}