Constraint

From Valve Developer Community
Revision as of 06:18, 10 March 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Any entity that constrains one or more physically simulated entities (such as func_physbox or prop_physics) to each other.

Note.pngNote:See also Physics Entity Overview for more detailed descriptions.

Below is a (so far incomplete and somewhat unconfirmed) list of all contraints:

Basic constraints

Specified constraints

Complex constraints


  • phys_constraintsystem is used to manage a group of interacting constraints and keep them stable.
  • info_constraint_anchor used to attach constraints to a local position on an entity. Usually constraints will attach to the center of mass of an object. Attach the desired constraint to this entity, and then parent this entity to the entity you want the constraint to apply to.