struct ContactPoint

Information about a single contact point during physics collision.

Public

Fields

Position

Vector3 Position

Contact point in world space.

Normal

Vector3 Normal

Normal pointing from the second shape to the first shape.

Impulse

float Impulse

Impulse applied to the objects to keep them from penetrating.

Divide by simulation step to get the force.

Separation

float Separation

Determines how far are the objects.

Negative value denotes penetration.