nodeCircleConstraint

Applies a circular constraint to the nodes of this Body.

The NodeCircleConstraint ensures that all nodes of the body remain within or on the boundary of specified circles. The constraint is configured using the provided lambda, which allows users to customize parameters such as strength, compliance, iterations, and the circle definition.

Parameters

configure

a lambda used to configure the properties of the NodeCircleConstraint. Within this lambda, the constraint's behavior can be adjusted by setting parameters such as iterations, compliance, strength, and circle definition based on the body's nodes.