Template:KV TwoObjectPhysics

From Valve Developer Community
Revision as of 20:40, 24 August 2005 by Ts2do (talk | contribs)
Jump to navigation Jump to search

Template:Kv targetname

  • 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.
  • 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)
  • breaksound
<sound> A sound played when the constraint is broken.