Package | Box2D.Collision |
Class | public class b2ContactPoint |
Property | Defined by | ||
---|---|---|---|
friction : Number
< the combined friction coefficient
| b2ContactPoint | ||
id : b2ContactID
< the contact id identifies the features in contact
| b2ContactPoint | ||
normal : b2Vec2
< points from shape1 to shape2
| b2ContactPoint | ||
position : b2Vec2
< position in world coordinates
| b2ContactPoint | ||
restitution : Number
< the combined restitution coefficient
| b2ContactPoint | ||
separation : Number
< the separation is negative when shapes are touching
| b2ContactPoint | ||
shape1 : b2Shape
< the first shape
| b2ContactPoint | ||
shape2 : b2Shape
< the second shape
| b2ContactPoint | ||
velocity : b2Vec2
< velocity of point on body2 relative to point on body1 (pre-solver)
| b2ContactPoint |
friction | property |
public var friction:Number
< the combined friction coefficient
id | property |
public var id:b2ContactID
< the contact id identifies the features in contact
normal | property |
public var normal:b2Vec2
< points from shape1 to shape2
position | property |
public var position:b2Vec2
< position in world coordinates
restitution | property |
public var restitution:Number
< the combined restitution coefficient
separation | property |
public var separation:Number
< the separation is negative when shapes are touching
shape1 | property |
public var shape1:b2Shape
< the first shape
shape2 | property |
public var shape2:b2Shape
< the second shape
velocity | property |
public var velocity:b2Vec2
< velocity of point on body2 relative to point on body1 (pre-solver)