Class ContactInfo
Contains the information of a contact/collision between two PhysicsBodys.
public sealed class ContactInfo
- Inheritance
-
ContactInfo
- Inherited Members
Properties
BodyA
Body A in the contact
public PhysicsBody BodyA { get; }
Property Value
BodyB
Body B in the contact
public PhysicsBody BodyB { get; }
Property Value
CollisionImpulse
Collision impulse
public double CollisionImpulse { get; }
Property Value
ContactNormal
Collision direction.
public Vector2 ContactNormal { get; }
Property Value
ContactPointA
Point of contact A.
public PointF ContactPointA { get; }
Property Value
ContactPointB
Point of contact B.
public PointF ContactPointB { get; }