Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Physics.Contact Class Reference

Generic contact between colliders, Always using Vector3 as the engine allows mixed 2D/3D contacts. Note: As class because it is shared between the 2 Colliders.. maybe struct is faster? More...

Public Attributes

Collider ColliderA
 
Collider ColliderB
 
float Distance
 
Vector3 Normal
 
Vector3 PositionOnA
 
Vector3 PositionOnB
 

Detailed Description

Generic contact between colliders, Always using Vector3 as the engine allows mixed 2D/3D contacts. Note: As class because it is shared between the 2 Colliders.. maybe struct is faster?

Definition at line 11 of file Contact.cs.

Member Data Documentation

Collider SiliconStudio.Paradox.Physics.Contact.ColliderA

Definition at line 15 of file Contact.cs.

Collider SiliconStudio.Paradox.Physics.Contact.ColliderB

Definition at line 17 of file Contact.cs.

float SiliconStudio.Paradox.Physics.Contact.Distance

Definition at line 19 of file Contact.cs.

Vector3 SiliconStudio.Paradox.Physics.Contact.Normal

Definition at line 21 of file Contact.cs.

Vector3 SiliconStudio.Paradox.Physics.Contact.PositionOnA

Definition at line 23 of file Contact.cs.

Vector3 SiliconStudio.Paradox.Physics.Contact.PositionOnB

Definition at line 25 of file Contact.cs.


The documentation for this class was generated from the following file: