C# Класс Project290.Physics.Collision.ManifoldPoint

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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Id ContactID
LocalPoint Vector2
NormalImpulse float
TangentImpulse float

Описание свойств

Id публичное свойство

Uniquely identifies a contact point between two Shapes
public ContactID,Project290.Physics.Collision Id
Результат ContactID

LocalPoint публичное свойство

public Vector2 LocalPoint
Результат Vector2

NormalImpulse публичное свойство

public float NormalImpulse
Результат float

TangentImpulse публичное свойство

public float TangentImpulse
Результат float