PhysX Glue Test

Bind Distance - The distance from a particle within which PhysX Glue checks for other particles that can be bound to it.

Example:  PhysXGlue_BindDistance.zip

During the first stage of generating bindings-finding candidates for binding-the number of the potential binding-partner particles cannot exceed the Max Binds p/Particle value, and might be even less if a particle already has bindings that were generated before the current frame. When considering a binding to the ground or a deflector, the distance is measured from the particle's center to the closest point on the surface of the ground or a deflector.

Tip: When adjusting Bind Distance, Bind Gap, and Bind Center Aligned Only, it's often helpful to turn on the Visualize Binding option (see following). When Visualize Binding is on, bindings are depicted as lines and other symbols, using the color of the swatch next to the Visualize Binding check box, as shown in the following illustrations.

In the following illustration, a wall of bricks uses a low Bind Distance value, so the bindings are relatively unstable:

By increasing the Bind Distance value, you get diagonal bindings as well as vertical ones, improving the stability of the structure: