PhysX Glue Test

Max By Bind Distance - Allows the simulation to take into account the distance between each pair of particles, using it as an additional factor to set up the maximum force values.

For example, in a brick wall, the force required to break apart vertically adjacent bricks (in the next higher or lower layer) should be greater than the force required to break apart horizontally adjacent bricks (in the same layer) because there's more surface area, and thus more mortar, between the former than between the latter.

  • Distance Unit - The distance between particles (that is, their centers) at which to apply the specified Max Force/Torque values.

    With greater and smaller distances, Max Force/Torque are applied in inverse proportion. So, for example, if particles are twice as far apart as specified by the Distance Unit value, the applied Max Force/Torque values are half the specified ones.

    In the following illustration, the distance between particles 1261 and 1260 is larger than distance between particles 1261 and 1237. As a result, when Max By Bind Distance is on, the binding between 1261 and 1237 will be stronger then the binding between 1261 and 1260.

 

Example:  PhysXGlue_MaxByBindDistance.zip