Skip to main content

ccd_ik

Function ccd_ik 

pub fn ccd_ik(
    joint_positions: &[[f32; 3]],
    target: [f32; 3],
    max_iterations: u32,
    tolerance: f32,
) -> IkResult
Expand description

CCD (Cyclic Coordinate Descent) IK solver.

Iteratively rotates each joint starting from the end effector backward to the root, aligning the end effector with the target.