[−][src]Function nphysics3d::solver::helper::cancel_relative_rotation
pub fn cancel_relative_rotation<N: RealField>(
params: &IntegrationParameters<N>,
body1: &dyn Body<N>,
part1: &dyn BodyPart<N>,
body2: &dyn Body<N>,
part2: &dyn BodyPart<N>,
anchor1: &Point<N>,
anchor2: &Point<N>,
rotation1: &Rotation<N>,
rotation2: &Rotation<N>,
jacobians: &mut [N]
) -> Option<GenericNonlinearConstraint<N>>
Generate position constraints to cancel the relative rotation of two bodies.
All inputs mut be given in world-space.