C# Class Box2DX.Dynamics.ContactPoint

Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station Class Usage Examples

Méthodes publiques

Свойство Type Description
Friction float
ID Box2DX.Collision.ContactID
Normal Box2DX.Common.Vec2
Position Box2DX.Common.Vec2
Restitution float
Separation float
Shape1 Box2DX.Collision.Shape
Shape2 Box2DX.Collision.Shape
Velocity Box2DX.Common.Vec2

Property Details

Friction public_oe property

The combined friction coefficient.
public float Friction
Résultat float

ID public_oe property

The contact id identifies the features in contact.
public ContactID,Box2DX.Collision ID
Résultat Box2DX.Collision.ContactID

Normal public_oe property

Points from shape1 to shape2.
public Vec2,Box2DX.Common Normal
Résultat Box2DX.Common.Vec2

Position public_oe property

Position in world coordinates.
public Vec2,Box2DX.Common Position
Résultat Box2DX.Common.Vec2

Restitution public_oe property

The combined restitution coefficient.
public float Restitution
Résultat float

Separation public_oe property

The separation is negative when shapes are touching.
public float Separation
Résultat float

Shape1 public_oe property

The first shape.
public Shape,Box2DX.Collision Shape1
Résultat Box2DX.Collision.Shape

Shape2 public_oe property

The second shape.
public Shape,Box2DX.Collision Shape2
Résultat Box2DX.Collision.Shape

Velocity public_oe property

Velocity of point on body2 relative to point on body1 (pre-solver).
public Vec2,Box2DX.Common Velocity
Résultat Box2DX.Common.Vec2