|
enum | QueryType { Sphere = 0,
Box = 1,
Ray = 2
} |
|
|
| QueryShape (QueryType type, Vector3 center, Vector3 size, float contactOffset, float distance, int filter) |
|
|
Vector4 | center |
|
Vector4 | size |
|
QueryType | type |
|
float | contactOffset |
|
float | maxDistance |
|
int | filter |
|
Vector4 Obi.QueryShape.center |
box: center of the box in solver space. sphere: center of the sphere in solver space,. ray: start of the ray in solver space.
Vector4 Obi.QueryShape.size |
box: size of the box in each axis. sphere: radius of sphere (x,y,z), ray: end of the line segment in solver space.
The documentation for this struct was generated from the following file:
- Assets/Obi/Scripts/Common/DataStructures/Queries/QueryShape.cs