home *** CD-ROM | disk | FTP | other *** search
- COMMAND TWIRL
- -----------------------------------------------------------------
- Purpose: blackhole-effect around the z-axis
- Usage: TWIRL(<srcID>,<destID>,<amount>
- [,<damping>,<contraction>,<radius>
- [,<xCentre>,<yCentre>,<zCentre>]])
- Examples: twirl(1,2,30,)
- twirl(1,2,30,2,10,0)
- twirl(1,2,30,2,10,0,-10,20,0)
- Description: 1. <amount> is the twirl-amount in degrees, try large
- angles (>360) for good effects
- Only this parameter should be tweened in animations
- 2. <damping> controlles the transition of <amount>
- from the centre to the border of the object
- (0.5..3 are good values)
- 3. <contraction> controlls the object-contraction,
- if the centre-polygons become distorted (turned)
- you have to decrease this value,
- default: 1/20 of object-size
- 4. <radius> specifies the area which is only rotated by
- <amount> (no damping and contraction)
- 5. <*Centre> describes the source-point for
- the twirl effect, by default this is the object-centre
-