NodeContourConstraint
Represents a constraint that enforces nodes within a body to remain near the defined contour of a rectangle.
The NodeContourConstraint ensures that the nodes of a body stay within a certain distance of the contour of a rectangle by iteratively applying corrections based on proximity calculations. It influences the position of nodes to enforce defined physical rules in relation to the contour, while respecting mass and other physical properties.
Parameters
the Body whose nodes are constrained by this constraint.
Constructors
Creates a NodeContourConstraint for the given physical body, which will affect its nodes.
Properties
the compliance factor that allows some flexibility in the constraint.
the number of iterations performed while solving the constraint, influencing accuracy.
an array of lambda values used internally for constraint resolution.
the radius within which nodes will search for the nearest contour point or edge.