home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / Beez.swf / scripts / Box2D / Collision / b2ContactPoint.as < prev    next >
Encoding:
Text File  |  2008-09-03  |  778 b   |  38 lines

  1. package Box2D.Collision
  2. {
  3.    import Box2D.Collision.Shapes.b2Shape;
  4.    import Box2D.Common.Math.b2Vec2;
  5.    
  6.    public class b2ContactPoint
  7.    {
  8.        
  9.       
  10.       public var friction:Number;
  11.       
  12.       public var separation:Number;
  13.       
  14.       public var normal:b2Vec2;
  15.       
  16.       public var position:b2Vec2;
  17.       
  18.       public var restitution:Number;
  19.       
  20.       public var shape1:b2Shape;
  21.       
  22.       public var shape2:b2Shape;
  23.       
  24.       public var id:b2ContactID;
  25.       
  26.       public var velocity:b2Vec2;
  27.       
  28.       public function b2ContactPoint()
  29.       {
  30.          position = new b2Vec2();
  31.          velocity = new b2Vec2();
  32.          normal = new b2Vec2();
  33.          id = new b2ContactID();
  34.          super();
  35.       }
  36.    }
  37. }
  38.