Create a Point to Surface constraint to attach an nParticle object to a target surface (an nCloth surface or a passive collision object).
For example, you can use a Point to Surface constraint to hold water nParticles on the surface of an nCloth umbrella.
To create an nParticle Point to Surface constraint
The target surface can be an nCloth or passive object that is part of the same Nucleus system as the nParticle object, or it can be a non-Nucleus object. You cannot use other nParticle objects as target surfaces for a Point to Surface constraint.
If you select a target surface that is a non-Nucleus object, the surface will be made a passive object when the constraint is created.
The nParticle object is now constrained to the target surface you selected, and both they are connected to the nParticle object’s Maya Nucleus solver through a dynamicConstraint node. The preset properties on the dynamicConstraint node determine the constraint’s type (in this case, a Point to Surface constraint) and how it behaves.
The preset properties on the dynamicConstraint node determine the constraint’s type (in this case, a Point to Surface constraint) and how it behaves. For example, you can create a Point to Surface constraint with the following attribute settings: