All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Attributes | List of all members
BehaviourPuppet.MuscleProps Struct Reference

Defines the properties of muscle behaviour. More...

Public Attributes

float unpinParents
 How much will collisions with muscles of this group unpin parent muscles? More...
 
float unpinChildren
 How much will collisions with muscles of this group unpin child muscles? More...
 
float unpinGroup
 How much will collisions with muscles of this group unpin muscles of the same group? More...
 
float minMappingWeight
 If 1, muscles of this group will always be mapped to the ragdoll. More...
 
float maxMappingWeight
 If 0, muscles of this group will not be mapped to the ragdoll pose even if they are unpinned. More...
 
float minPinWeight
 Defines minimum pin weight for the muscles. Muscle pin weight can’t be reduced beyond this value when damage occurs from collisions. More...
 
bool disableColliders
 If true, muscles of this group will have their colliders disabled while in puppet state (not unbalanced nor getting up). More...
 
float regainPinSpeed
 How fast will muscles of this group regain their pin weight (multiplier)? More...
 
float collisionResistance
 Smaller value means more unpinning from collisions (multiplier). More...
 
float knockOutDistance
 If the distance from the muscle to its target is larger than this value, the character will be knocked out. More...
 
PhysicMaterial puppetMaterial
 The PhysicsMaterial applied to the muscles while the character is in Puppet or GetUp state. Using a lower friction material reduces the risk of muscles getting stuck and pulled out of their joints. More...
 
PhysicMaterial unpinnedMaterial
 The PhysicsMaterial applied to the muscles while the character is in Unpinned state. More...
 

Detailed Description

Defines the properties of muscle behaviour.