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

Public Attributes

Vector4 simplexBary
 
Vector4 queryPoint
 
Vector4 normal
 
float distance
 
int simplexIndex
 
int queryIndex
 

Member Data Documentation

float Obi.QueryResult.distance

Distance between simplex and query shape.

Vector4 Obi.QueryResult.normal

Closest direction between simplex and query shape.

int Obi.QueryResult.queryIndex

Index of the query that spawned this result.

Vector4 Obi.QueryResult.queryPoint

Nearest point in query shape

Vector4 Obi.QueryResult.simplexBary

Barycentric coords of nearest point in simplex

int Obi.QueryResult.simplexIndex

Index of the simplex in the solver.


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