C# 클래스 BEPUphysics.CollisionTests.Contact

Handles information about a contact point during a collision between two bodies.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Id int
Normal Vector3
PenetrationDepth float
Position Vector3

공개 메소드들

메소드 설명
Setup ( ContactData &candidate ) : void

Sets upt he contact with new information.

ToString ( ) : string

Outputs the position, normal, and depth information of the contact into a string.

메소드 상세

Setup() 공개 메소드

Sets upt he contact with new information.
public Setup ( ContactData &candidate ) : void
candidate ContactData Contact data to initialize the contact with.
리턴 void

ToString() 공개 메소드

Outputs the position, normal, and depth information of the contact into a string.
public ToString ( ) : string
리턴 string

프로퍼티 상세

Id 공개적으로 프로퍼티

Identifier used to link contact data with existing contacts and categorize members of a manifold.
public int Id
리턴 int

Normal 공개적으로 프로퍼티

Normal direction of the surface at the contact point.
public Vector3 Normal
리턴 Vector3

PenetrationDepth 공개적으로 프로퍼티

Amount of penetration between the two objects.
public float PenetrationDepth
리턴 float

Position 공개적으로 프로퍼티

Position of the contact point.
public Vector3 Position
리턴 Vector3