NodeCircleConstraint
Represents a circular constraint applied to nodes of a physical body.
The NodeCircleConstraint ensures that nodes of the body remain within or on the boundary of a circle. It uses constraint-solving techniques to enforce this behavior over a set number of iterations with adjustable compliance and strength parameters.
Parameters
the Body whose nodes are subject to this circular constraint.
Constructors
Properties
a parameter representing the flexibility of the constraint. A higher value allows nodes to move more freely within the constraint boundary.
the number of iterations performed during constraint solving. Higher iterations can increase accuracy at the cost of computation time.
an array used to store lagrange multipliers for constraint force calculations for each node in the body.