Vphysics & Qphysics

From Valve Developer Community
Revision as of 08:31, 18 April 2008 by Beeswax (talk | contribs)
Jump to navigation Jump to search

Basic Concepts

  • Linear Force affects the $origin (position) of the object in the World (induces Translational Motion).
    • Push attempts to increase the distance between the objects: eg Collisions, Gravgun Attack1, Explosion, Wind, etc.
    • Pull attempts to decrease the distance between the objects: eg Constraints, Gravgun Attack2, Gravity, etc.
  • Angular Force affects the $angles (orientation) of the object in the World (induces Rotational Motion).


  • Mass of an object is its Inertial Mass] ie its resistance to acceleration.
    Mass appears to have negligible affect on Torque, but Center of Mass is very important.
    world constant : Water = 1kg/litre = 1kg/
  • Velocity
    • Gravity = acceleration = 9.81 m/sec2 (= 32 ft/sec2 = 21.9 mph/sec)
    • Sliding Friction at the object's surface(s). Pressure (eg weight) * Friction Coefficient:
    Friction Coefficient is specific to each combination of surfaces; eg Rubber & Wood, Metal & Wood, Rubber & Metal, Rubber & Rubber, ... look-up table in Materials System ?
    Surface area is not a factor because total pressure is distributed over whatever contact area,
    • Fluid Friction, eg Aerodynamics, Hydrodynamics, etc is simply represented by the entity's "max speed" for flying, running, swimming, falling, etc.
    Air Density = 0, Friction = 0 (negligible) : Terminal Velocity = worldconstant = 3500 units/sec (66.7 m/s)
    Water Density = 1 kg/l, Friction = ?