gmod

The Pulley Tool is a tool for the Tool Gun. It creates a pulley constraint between 2 physics entities and 2 anchor points. If an entity at one end of a pulley constraint gets moved away from an anchor point, then the other entity will get pushed/pulled to its anchor. Freezing one of the entities in the pulley with the Physgun will make the restrictions of movement of the other entity like that of the Ball Socket tool.

Usage

Configuration

It has a maximum force variable that if the force exceeds the limit, then the constraint will break unless the value is 0. It also has a checkbox to make it rigid. If checked, then when one of the two entities gets pulled back to the anchor point, the other entity will be pushed away from its anchor point.