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

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 
void OnValidate ()
 
void UpdateMaterial ()
 

Public Attributes

float dynamicFriction
 
float staticFriction
 
float stickiness
 
float stickDistance
 
Oni.MaterialCombineMode frictionCombine
 
Oni.MaterialCombineMode stickinessCombine
 
bool rollingContacts = false
 
float rollingFriction
 

Protected Member Functions

void CreateMaterialIfNeeded ()
 

Protected Attributes

ObiCollisionMaterialHandle materialHandle
 

Properties

ObiCollisionMaterialHandle handle [get]
 

Detailed Description

Holds information about the physics properties of a particle or collider, and how it should react to collisions.


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