My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Ragdoll3DLimb Class Reference
Inheritance diagram for Ragdoll3DLimb:

Public Member Functions

void Init ()
 
void UpdateLimb ()
 
void Dismember ()
 
void OnImpact (ImpactData data)
 
void HealthHit (float damage, Vector2 hitPos)
 
void PuffEffect3D (Collision col, float scale)
 
void SetStubs (bool on)
 
void DropAttachments ()
 
void AddAttachments (GameObject m)
 

Public Attributes

float jointBreakForce = Mathf.Infinity
 
float health = 1.0f
 
float dismemberTorque = 1500.0f
 
float onImpactUpForce = 8.0f
 
Transform animationParent
 
GameObject puffPrefab
 
float minPuffVelocity = 7.0f
 
float puffSize = 0.3f
 
int puffOnlyOnCollisionLayerInt
 
GameObject blastPrefab
 
List< Transform > limbStubs
 
Impact impact
 
Rigidbody body
 
CharacterJoint joint
 
Ragdoll3D ragdoll
 
bool fellOnGround
 
List< Rigidbody > attachments = new List<Rigidbody>()
 
List< ColorMaterialcolorMaterials = new List<ColorMaterial>()
 

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