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

Public Types

enum  QueryType { Sphere = 0, Box = 1, Ray = 2 }
 

Public Member Functions

 QueryShape (QueryType type, Vector3 center, Vector3 size, float contactOffset, float distance, int filter)
 

Public Attributes

Vector4 center
 
Vector4 size
 
QueryType type
 
float contactOffset
 
float maxDistance
 
int filter
 

Member Data Documentation

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: