Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
AdvancedRagdoll Class Reference
Inheritance diagram for AdvancedRagdoll:

Public Member Functions

void PoseToAnimation (Transform src, Transform dest)
 
void SynchRagdollIn (Transform src)
 
void SynchRagdollOut (Transform dest)
 

Public Attributes

bool copyMaterials
 
bool debug
 the ragdoll's root bone More...
 
LayerMask groundLayer = -1
 
Transform ragdollRoot
 a flag to indicate whether materials should also be copied More...
 

Member Function Documentation

void AdvancedRagdoll.PoseToAnimation ( Transform  src,
Transform  dest 
)
inline

< create a new animation clip

< copy the transforms to an animation

< add the new ragdoll pose animation clip

< set the animation to loop

< play the animation

void AdvancedRagdoll.SynchRagdollIn ( Transform  src)
inline
void AdvancedRagdoll.SynchRagdollOut ( Transform  dest)
inline

Member Data Documentation

bool AdvancedRagdoll.copyMaterials
bool AdvancedRagdoll.debug

the ragdoll's root bone

LayerMask AdvancedRagdoll.groundLayer = -1
Transform AdvancedRagdoll.ragdollRoot

a flag to indicate whether materials should also be copied


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