C# Class BEPUphysics.CollisionTests.Contact

Handles information about a contact point during a collision between two bodies.
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Méthodes publiques

Свойство Type Description
Id int
Normal Vector3
PenetrationDepth float
Position Vector3

Méthodes publiques

Méthode Description
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.

Method Details

Setup() public méthode

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

ToString() public méthode

Outputs the position, normal, and depth information of the contact into a string.
public ToString ( ) : string
Résultat string

Property Details

Id public_oe property

Identifier used to link contact data with existing contacts and categorize members of a manifold.
public int Id
Résultat int

Normal public_oe property

Normal direction of the surface at the contact point.
public Vector3 Normal
Résultat Vector3

PenetrationDepth public_oe property

Amount of penetration between the two objects.
public float PenetrationDepth
Résultat float

Position public_oe property

Position of the contact point.
public Vector3 Position
Résultat Vector3