All Classes Namespaces Functions Variables Enumerations Properties Pages
static void RemoveRagdollComponents ( Transform  target,
int  characterControllerLayer 
)
static

Removes all the ragdoll components (except Cloth colliders), including compound colliders that are not used by Cloth. Components on the 'target' GameObject will not be touched for they are probably not ragdoll components, but required by a character controller.

Parameters
targetTarget.