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

The current state of a muscle. While the similar values in the Props should be defined by the user, this multiplies or adds to them and is hidden and intended for being used by the Puppet Behaviours only. More...

Public Attributes

float mappingWeightMlp
 Multiplies the mapping weight of the muscle. More...
 
float pinWeightMlp
 Multiplies the pin weight of the muscle. More...
 
float muscleWeightMlp
 Multiplies the muscle weight. More...
 
float maxForceMlp
 Multiplies slerp drive's max force. More...
 
float muscleDamperMlp
 Used by the behaviours to cancel out muscle damper so it could be set to a specific value by muscleDamperAdd. More...
 
float muscleDamperAdd
 Adds to the muscle's damper value (can't multiply because it might be set to zero). More...
 
float immunity
 Immunity reduces damage from collisions and hits in some Puppet Behaviours (BehaviourPuppet). More...
 
float impulseMlp
 Larger impulse multiplier makes the muscles deal more damage to the muscles of other characters in some Puppet Behavours (BehaviourPuppet). More...
 
Vector3 velocity
 The velocity of the muscle in world space (filled in by the muscle itself). More...
 
Vector3 angularVelocity
 The angular velocity of the muscle (filled in by the muscle itself). More...
 
bool isDisconnected
 If the muscle is currently disconnected. More...
 
bool resetFlag
 If muscle joint orientation needs to be reset when reconnecting. More...
 

Detailed Description

The current state of a muscle. While the similar values in the Props should be defined by the user, this multiplies or adds to them and is hidden and intended for being used by the Puppet Behaviours only.