Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Oni.Contact Struct Reference

Public Attributes

Vector4 pointA
 
Vector4 pointB
 
Vector4 normal
 
Vector4 tangent
 
Vector4 bitangent
 
float distance
 
float normalImpulse
 
float tangentImpulse
 
float bitangentImpulse
 
float stickImpulse
 
float rollingFrictionImpulse
 
int bodyA
 
int bodyB
 

Member Data Documentation

Vector4 Oni.Contact.bitangent

Bitangent direction.

int Oni.Contact.bodyB

simplex index

Vector4 Oni.Contact.normal

Normal direction.

float Oni.Contact.normalImpulse

distance between both colliding entities at the beginning of the timestep.

Vector4 Oni.Contact.pointB

Speculative point of contact.

Vector4 Oni.Contact.tangent

Tangent direction.


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