![]() |
Obi
7.0.5
Unified particle physics for Unity
|
Public Attributes | |
| Vector4 | simplexBary |
| Vector4 | queryPoint |
| Vector4 | normal |
| float | distance |
| float | distanceAlongRay |
| int | simplexIndex |
| int | queryIndex |
| float Obi.QueryResult.distance |
Distance between simplex and query shape.
| float Obi.QueryResult.distanceAlongRay |
For ray queries, distance along the ray.
| 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.