Strata - v1.4.10
    Preparing search index...

    Interface RagdollJointConfig

    Ragdoll joint connection configuration.

    interface RagdollJointConfig {
        anchor1: [number, number, number];
        anchor2: [number, number, number];
        axis?: [number, number, number];
        child: string;
        limits?: { max: number; min: number };
        parent: string;
        twistLimits?: { max: number; min: number };
        type: "fixed" | "spherical" | "revolute" | "prismatic";
    }
    Index

    Properties

    anchor1: [number, number, number]

    Pivot point relative to parent.

    anchor2: [number, number, number]

    Pivot point relative to child.

    axis?: [number, number, number]

    Rotation axis for revolute/prismatic joints.

    child: string

    Name of the child body part.

    limits?: { max: number; min: number }

    Angular or linear limits.

    parent: string

    Name of the parent body part.

    twistLimits?: { max: number; min: number }

    Optional secondary twist limits for spherical joints.

    type: "fixed" | "spherical" | "revolute" | "prismatic"

    Type of physical constraint.