A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate.
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate. For example, a RigidBody2D can be attached to a StaticBody2D to create a pendulum or a seesaw.
If true, the pin maximum and minimum rotation, defined by angular_limit_lower and angular_limit_upper are applied.
The minimum rotation. Only active if angular_limit_enabled is true.
The maximum rotation. Only active if angular_limit_enabled is true.