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

The main properties of a muscle. More...

Public Member Functions

 Props ()
 Initializes a new instance of the RootMotion.Dynamics.Muscle+Props class. More...
 
 Props (float pinWeight, float muscleWeight, float mappingWeight, float muscleDamper, bool mapPosition, Group group=Group.Hips)
 Initializes a new instance of the RootMotion.Dynamics.Muscle+Props class. More...
 

Public Attributes

Group group
 Which body part does this muscle belong to? More...
 
float mappingWeight = 1f
 The weight (multiplier) of mapping this muscle's target to the muscle. More...
 
float pinWeight = 1f
 The weight (multiplier) of pinning this muscle to it's target's position using a simple AddForce command. More...
 
float muscleWeight = 1f
 The muscle strength (multiplier). More...
 
float muscleDamper = 1f
 Multiplier of the positionDamper of the ConfigurableJoints' Slerp Drive. More...
 
bool mapPosition
 If true, will map the target to the world space position of the muscle. Normally this should be true for only the root muscle (the hips). More...
 

Detailed Description

The main properties of a muscle.