Table of Contents

Struct ManifoldPoint

Namespace
Alis.Core.Physic.Collision
Assembly
Alis.dll

A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The local point usage depends on the manifold type: -ShapeType.Circles: the local center of circleB -SeparationFunction.FaceA: the local center of cirlceB or the clip point of polygonB -SeparationFunction.FaceB: the clip point of polygonA This structure is stored across time steps, so we keep it small. Note: the impulses are used for internal caching and may not provide reliable contact forces, especially for high speed collisions.

public struct ManifoldPoint

Inherited Members

Fields

Id

Uniquely identifies a contact point between two Shapes

public ContactID Id

Field Value

ContactID

LocalPoint

Usage depends on manifold type

public Vector2 LocalPoint

Field Value

Vector2

NormalImpulse

The non-penetration impulse

public float NormalImpulse

Field Value

float

TangentImpulse

The friction impulse

public float TangentImpulse

Field Value

float