home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Extra 1996 #6 / AmigaPlus-eXtra-6-96.iso.7z / AmigaPlus-eXtra-6-96.iso / programme / dust / dusthelp2 / twirl < prev   
Text File  |  1996-03-22  |  1KB  |  24 lines

  1.   COMMAND TWIRL
  2. -----------------------------------------------------------------
  3.     Purpose: blackhole-effect around the z-axis
  4.       Usage: TWIRL(<srcID>,<destID>,<amount>
  5.                    [,<damping>,<contraction>,<radius>
  6.                    [,<xCentre>,<yCentre>,<zCentre>]])
  7.    Examples: twirl(1,2,30,)
  8.              twirl(1,2,30,2,10,0)
  9.              twirl(1,2,30,2,10,0,-10,20,0)
  10. Description:  1. <amount> is the twirl-amount in degrees, try large
  11.                  angles (>360) for good effects
  12.                  Only this parameter should be tweened in animations
  13.               2. <damping> controlles the transition of <amount>
  14.                  from the centre to the border of the object
  15.                  (0.5..3 are good values)
  16.               3. <contraction> controlls the object-contraction,
  17.                  if the centre-polygons become distorted (turned)
  18.                  you have to decrease this value, 
  19.                  default: 1/20 of object-size
  20.               4. <radius> specifies the area which is only rotated by
  21.                  <amount> (no damping and contraction)
  22.               5. <*Centre> describes the source-point for
  23.                  the twirl effect, by default this is the object-centre
  24.