Wired Clutch

From GMod Wiki

Jump to: navigation, search
Wire Icon.png Wiremod ToolYarin Kaul Icon ArrowSquare32 left.png Back
Information 16x16.png Function:Wired component that controls rotational friction between props.
link=User:{{{author}}} Primary fire:Spawns/selects a Wired Clutch Controller.
Wrench orange.png Secondary fire:Registers pairs of entities with the clutch controller.
Link break.png Reload:Unlinks entities from the clutch controller.
Page white text.png Notes:-

Brief

Allows players to add rotational friction between props.

Instructions

Place or select a clutch controller with primary fire. To add a clutch constraint between entities, secondary fire on the first, then on the second. Press reload on a registered entity to remove any clutch constraints from it that are associated with the currently selected controller.

Inputs


Variables

Useful hints

A clutch controller can be linked to many pairs of entities at the same time, including the ground. Note that the controller will update more slowly if linked to more entities, to reduce lag.

The clutch constraint is based on a ball socket constraint with friction on each axis. The amount of friction is treated as though both entities had 1kg mass. This way, the amount of frictional torque between two entities should not vary with mass.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox