cMuscleQuery
 
 
 

Description: Gets information about a Muscle deformer node.

Flags:

Short Flag Long Flag Argument Description
-dir -direction   Return direction (cMuscleDirection) nodes tied to the system.
-geo -geometry   Return the geometry being deformed by this system.
-idx -index   Return the logical indices the muscles/directions are connected to, instead of their names.
-mus -muscle   Return muscle/bone (cMuscleObject) nodes tied to the system.
-smr -smartcollide   Return smartcollide nodes tied to the system.
-sys -system string The Muscle deformer we are getting information from.

Examples:

cMuscleQuery -system cMuscleSystemNode -muscle ; // Return all muscles tied to the system node.
cMuscleQuery -system cMuscleSystemNode -direction ; // Return all dir's tied to the system node.
cMuscleQuery -system cMuscleSystemNode -mus -idx ; // Return the indexes the muscles are connected into. // ie: system.muscleData[#], this returns the #. 
cMuscleQuery -system cMuscleSystemNode -dir -idx ; // Return the indexes the directions are connected into. // ie: system.dirData[#], this returns the #. 
cMuscleQuery -system cMuscleSystemNode -geometry ; // Return the name of the geometry this system is deforming.