Template:KV TwoObjectPhysics
Jump to navigation
Jump to search
- attach1
- <target_destination> Entity 1
- attach2
- <target_destination> Entity 2
- constraintsystem
- <target_destination> The name of a phys_constraintsystem that this constraint should be a part of. All constraints on a set of entities should be placed in the same system, or they will fight each other during simulation.
- forcelimit
- <float> The amount of force an impact must apply to the constraint to break it. A way of calculating this is to set it to the mass of an object that would break this constraint if it were resting on the constrainted objects. Set to zero for infinite strength.
- torquelimit
- <float> (lbs*distance) The amount of torque required to break the constraint. A way of calculating this is to multiply any reference mass by the resting distance (from the center of mass of the object) needed to break the constraint (1 lb = 453.59237 grams). Set to zero for infinite strength.
- breaksound
- <sound> A sound played when the constraint is broken.