C# 클래스 FarseerPhysics.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.
파일 보기 프로젝트 열기: prime31/Nez 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
id ContactID
localPoint Vector2
normalImpulse float
tangentImpulse float

프로퍼티 상세

id 공개적으로 프로퍼티

Uniquely identifies a contact point between two Shapes
public ContactID,FarseerPhysics.Collision id
리턴 ContactID

localPoint 공개적으로 프로퍼티

Usage depends on manifold type
public Vector2 localPoint
리턴 Vector2

normalImpulse 공개적으로 프로퍼티

The non-penetration impulse
public float normalImpulse
리턴 float

tangentImpulse 공개적으로 프로퍼티

The friction impulse
public float tangentImpulse
리턴 float