Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ObiCollider2D Class Reference
Inheritance diagram for Obi.ObiCollider2D:
Obi.ObiColliderBase

Protected Member Functions

override void CreateTracker ()
 
override Component GetUnityCollider (ref bool enabled)
 
override void FindSourceCollider ()
 
- Protected Member Functions inherited from Obi.ObiColliderBase
void CreateRigidbody ()
 
void AddCollider ()
 
void RemoveCollider ()
 

Properties

Collider2D SourceCollider [get, set]
 
- Properties inherited from Obi.ObiColliderBase
ObiCollisionMaterial CollisionMaterial [get, set]
 
int Filter [get, set]
 
float Thickness [get, set]
 
ObiShapeTracker Tracker [get]
 
ObiColliderHandle Handle [get]
 
IntPtr OniCollider [get]
 
ObiRigidbodyBase Rigidbody [get]
 

Additional Inherited Members

- Public Member Functions inherited from Obi.ObiColliderBase
void UpdateIfNeeded ()
 
- Protected Attributes inherited from Obi.ObiColliderBase
ObiColliderHandle shapeHandle
 
IntPtr oniCollider
 
ObiRigidbodyBase obiRigidbody
 
bool wasUnityColliderEnabled = true
 
bool dirty = false
 
ObiShapeTracker tracker
 

Detailed Description

Add this component to any Collider that you want to be considered by Obi.

Member Function Documentation

override void Obi.ObiCollider2D.CreateTracker ( )
protectedvirtual

Creates an OniColliderTracker of the appropiate type.

Implements Obi.ObiColliderBase.


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