All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | Public Attributes | List of all members
RagdollUtility Class Reference

Ragdoll Utility controls switching characters in and out of ragdoll mode. It also enables you to use IK effects on top of ragdoll simulation. More...

Inherits MonoBehaviour.

Collaboration diagram for RagdollUtility:
Collaboration graph
[legend]

Public Member Functions

void EnableRagdoll ()
 Switches to ragdoll. More...
 
void DisableRagdoll ()
 Blends back to animation. More...
 

Public Attributes

IK ik
 If you have multiple IK components, then this should be the one that solves last each frame. More...
 
float ragdollToAnimationTime = 0.2f
 How long does it take to blend from ragdoll to animation? More...
 
bool applyIkOnRagdoll
 If true, IK can be used on top of physical ragdoll simulation. More...
 
float applyVelocity = 1f
 How much velocity transfer from animation to ragdoll? More...
 
float applyAngularVelocity = 1f
 How much angular velocity to transfer from animation to ragdoll? More...
 

Detailed Description

Ragdoll Utility controls switching characters in and out of ragdoll mode. It also enables you to use IK effects on top of ragdoll simulation.