home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 March / Gamestar_82_2006-03_dvd.iso / Dema / ankh_demo_en.exe / media / shared / cloth / initialize.xml < prev   
Encoding:
Text File  |  2005-05-05  |  1.5 KB  |  45 lines

  1. <!-- Values in this file are the standard values for a newly build Cloth -->
  2. <!-- They may later also be changed in the code... -->
  3.  
  4.  
  5. <!-- verletDragFactor determines whether energy will leave this system. -->
  6. <!-- 1.0: no energy is leaving the system => The cloth will bounce and bounce and bounce... -->
  7. <!-- 0.999 seems to be a sensible value. -->
  8. <General particleMass="1.0" verletDragFactor="1.0">
  9.  
  10.     <!-- provides the number of iterations for the loop locally satisfying the distance constraints between the particles -->
  11.     <!-- 1-4 are good values for cloth animation -->
  12.     <Iteration count="1" />
  13.     
  14.     <!-- the number of clock-ticks after which the particle system is updated (verlet integration called, ...) 1 tick equals 1ms. -->
  15.     <!-- 10-100 seem to be acceptable value, thought it gets jerky with 100 -->
  16.     <UpdateTicks count="16" />
  17.     
  18. </General>
  19.  
  20.  
  21. <!-- to disable gravity just set its Direction to "(0.0, 0.0, 0.0)"-->
  22. <Gravitation>
  23.  
  24.     <!-- Needs not be normalized! The length of the Direction vectors indicates the strength -->
  25.     <Direction x="0.0" y="-2.5" z="0.0" />
  26.     
  27. </Gravitation>
  28.  
  29.  
  30. <Wind enabled="1" influence="0.2" >
  31.  
  32.     <!-- Needs not be normalized! The length of the Direction vectors indicates the strength -->
  33.     <!-- Here: wind blows along the negative x axis -->
  34.     <Direction x="0.0" y="0.0" z="1.0" />
  35.     
  36. </Wind>
  37.  
  38.  
  39. <AirResistance enabled="0" influence="0.0001" />
  40.  
  41.  
  42. <Friction enabled="0" coefficient="1.1" />
  43.  
  44.  
  45. <SelfCollisionAvoidance enabled="0" minimalDistance="2.6" binCubeSideLength="5.0" />