NoCollisionsConstraint

I am trying to make players not collide with an object using a NoCollisionsConstraint. Is there a way I can set the constraint to players? I have tried using collision groups but I don’t understand them.