Obi
6.4
Unified particle physics for Unity
|
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 | |
Collider | sourceCollider [get, set] |
The Unity collider that this ObiCollider should mimic. More... | |
ObiDistanceField | distanceField [get, set] |
The distance field used by this collider. More... | |
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 |
Add this component to any Collider that you want to be considered by Obi.
|
protectedvirtual |
Creates an OniColliderTracker of the appropiate type.
Implements Obi.ObiColliderBase.
|
getset |
The distance field used by this collider.
Setting a distance field will cause the collider to ignore its m_SourceCollider and use the distance field instead.
|
getset |
The Unity collider that this ObiCollider should mimic.
This is automatically set when you first create the ObiCollider component, but you can override it afterwards.