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

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
 

Member Data Documentation

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.


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