![]() |
Obi
7.0.5
Unified particle physics for Unity
|
Public Types | |
| enum | ShapeType { Sphere = 0, Box = 1, Capsule = 2, Heightmap = 3, TriangleMesh = 4, EdgeMesh = 5, SignedDistanceField = 6 } |
Public Member Functions | |
| void | SetSign (bool inverted) |
Public Attributes | |
| Vector4 | center |
| Vector4 | size |
| ShapeType | type |
| float | contactOffset |
| int | dataIndex |
| int | rigidbodyIndex |
| int | materialIndex |
| int | forceZoneIndex |
| int | filter |
| int | flags |
Properties | |
| bool | is2D [get, set] |
| bool | isTrigger [get, set] |
| float | sign [get] |
| 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.