Obi
6.4
Unified particle physics for Unity
|
Public Types | |
enum | ShapeType { Sphere = 0, Box = 1, Capsule = 2, Heightmap = 3, TriangleMesh = 4, EdgeMesh = 5, SignedDistanceField = 6 } |
Public Attributes | |
Vector4 | center |
Vector4 | size |
ShapeType | type |
float | contactOffset |
int | dataIndex |
int | rigidbodyIndex |
int | materialIndex |
int | filter |
int | flags |
int | is2D |
Vector4 Obi.ColliderShape.size |
box: size of the box in each axis. sphere: radius of sphere (x,y,z), capsule: radius (x), height(y), direction (z, can be 0, 1 or 2). heightmap: width (x axis), height (y axis) and depth (z axis) in world units.