Function debug_render_constraint

Source
pub fn debug_render_constraint<T: Component + DebugRenderConstraint<N>, const N: usize>(
    bodies: Query<'_, '_, &GlobalTransform>,
    constraints: Query<'_, '_, &T>,
    gizmos: Gizmos<'_, '_, PhysicsGizmos>,
    store: Res<'_, GizmoConfigStore>,
    context: StaticSystemParam<'_, '_, T::Context>,
)
Expand description

A system that renders all constraints that implement the DebugRenderConstraint trait.