[][src]Function nphysics3d::solver::helper::project_anchor_to_axis

pub fn project_anchor_to_axis<N: RealField, B: ?Sized + Body<N>, H: BodyHandle>(
    parameters: &IntegrationParameters<N>,
    body1: &B,
    part1: &dyn BodyPart<N>,
    handle1: BodyPartHandle<H>,
    body2: &B,
    part2: &dyn BodyPart<N>,
    handle2: BodyPartHandle<H>,
    anchor1: &Point<N>,
    anchor2: &Point<N>,
    axis1: &Unit<Vector<N>>,
    jacobians: &mut [N]
) -> Option<GenericNonlinearConstraint<N, H>>

Generate position constraints to project anchor2 into the axis with direction axis1 and passing through the anchor1.

All inputs mut be given in world-space.