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

Public Member Functions

void RegisterImplementation (IColliderWorldImpl impl)
 
void UnregisterImplementation (IColliderWorldImpl impl)
 
ObiColliderHandle CreateCollider ()
 
ObiRigidbodyHandle CreateRigidbody ()
 
ObiCollisionMaterialHandle CreateCollisionMaterial ()
 
ObiTriangleMeshHandle GetOrCreateTriangleMesh (Mesh mesh)
 
void DestroyTriangleMesh (ObiTriangleMeshHandle meshHandle)
 
ObiEdgeMeshHandle GetOrCreateEdgeMesh (EdgeCollider2D collider)
 
void DestroyEdgeMesh (ObiEdgeMeshHandle meshHandle)
 
ObiDistanceFieldHandle GetOrCreateDistanceField (ObiDistanceField df)
 
void DestroyDistanceField (ObiDistanceFieldHandle dfHandle)
 
ObiHeightFieldHandle GetOrCreateHeightField (TerrainData hf)
 
void DestroyHeightField (ObiHeightFieldHandle hfHandle)
 
void DestroyCollider (ObiColliderHandle handle)
 
void DestroyRigidbody (ObiRigidbodyHandle handle)
 
void DestroyCollisionMaterial (ObiCollisionMaterialHandle handle)
 
void UpdateColliders ()
 
void UpdateRigidbodies (List< ObiSolver > solvers, float stepTime)
 
void UpdateWorld (float deltaTime)
 
void UpdateRigidbodyVelocities (List< ObiSolver > solvers)
 

Static Public Member Functions

static ObiColliderWorld GetInstance ()
 

Public Attributes

List< IColliderWorldImplimplementations
 
List< ObiColliderHandlecolliderHandles
 
ObiNativeColliderShapeList colliderShapes
 
ObiNativeAabbList colliderAabbs
 
ObiNativeAffineTransformList colliderTransforms
 
List< ObiCollisionMaterialHandlematerialHandles
 
ObiNativeCollisionMaterialList collisionMaterials
 
List< ObiRigidbodyHandlerigidbodyHandles
 
ObiNativeRigidbodyList rigidbodies
 
ObiTriangleMeshContainer triangleMeshContainer
 
ObiEdgeMeshContainer edgeMeshContainer
 
ObiDistanceFieldContainer distanceFieldContainer
 
ObiHeightFieldContainer heightFieldContainer
 

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