Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Events | List of all members
CrossLink.CollisionEffect Class Reference

Inherits MonoBehaviour.

Public Member Functions

Rigidbody GetRelateRB ()
 
float GetRelaMass ()
 
bool IsColLatly (CollisionEffect other)
 
bool IsColLatly (CollisionEffect other, float ct)
 
bool IsColLatly (CollisionEffect c1, CollisionEffect c2)
 
void DisableContactForAWhild (float sec)
 
bool IsContactLatly (float ct)
 
void TapContact ()
 
void PlayFractureSound ()
 
void SetPreciseMode (bool p)
 
void OnCollisionEnter (Collision collision)
 

Static Public Member Functions

static void SetCEIgnoreForAWhile (CollisionEffect c1, CollisionEffect c2, float sec)
 
static void SetCESIgnoreForAWhile (CollisionEffect[] c1, CollisionEffect[] c2, float sec)
 
static void DisableGlobalContactForAWhild (float sec)
 

Public Attributes

string materialName
 
float contactInterval = ContactIntervalNonSensitive
 

Static Public Attributes

const float PitchOffMax = 0.6f
 
const float PitchOffMin = 0.15f
 
const float MassMax = 20f
 
const float MassAvg = 10f
 
const float MassMin = 4f
 
const float MassMaxCP = MassMax+ MassMax
 
const float MassMinCP = MassMin + MassMin
 
const float ContactIntervalSensitive = 0.1f
 
const float ContactIntervalNonSensitive = 1f
 

Events

System.Action< CollisionEffectTable.ContinuousCollisionRecordSlidingEvent