mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
34 lines
699 B
ActionScript
34 lines
699 B
ActionScript
package Box2D.Collision
|
|
{
|
|
import Box2D.Collision.Shapes.b2Shape;
|
|
import Box2D.Common.Math.b2Vec2;
|
|
|
|
public class b2ContactPoint
|
|
{
|
|
|
|
public var shape1:b2Shape;
|
|
|
|
public var shape2:b2Shape;
|
|
|
|
public var position:b2Vec2 = new b2Vec2();
|
|
|
|
public var velocity:b2Vec2 = new b2Vec2();
|
|
|
|
public var normal:b2Vec2 = new b2Vec2();
|
|
|
|
public var separation:Number;
|
|
|
|
public var friction:Number;
|
|
|
|
public var restitution:Number;
|
|
|
|
public var id:b2ContactID = new b2ContactID();
|
|
|
|
public function b2ContactPoint()
|
|
{
|
|
super();
|
|
}
|
|
}
|
|
}
|
|
|