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

The main properties of a muscle. More...

Collaboration diagram for Muscle.Props:
Collaboration graph
[legend]

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, 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 its 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...
 
InternalCollisionIgnoreSettings internalCollisionIgnores = new InternalCollisionIgnoreSettings()
 Defines which muscles or muscle groups internal collisions are always ignored with. More...
 
Transform[] animatedTargetChildren = new Transform[0]
 List of animated bones parented to this muscle's Target, except for the bones that are targets or target children of any child muscles. This is used for stopping animation on those bones when the muscle has been disconnected using PuppetMaster.DisconnectMuscleRecursive(). For example if you disconnected the spine02 muscle, you would want to have spine03 and clavicles in this list to stop them from animating. More...
 

Properties

bool mapPosition [get, set]
 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.