Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

ParticleSystems.FrictionForce


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
//=============================================================================
// $Author: Aleiby $
// $Date: 12/19/01 9:15p $
// $Revision: 1 $
//=============================================================================

//------------------------------------------------------------------------------
// Name:	FrictionForce.uc
// Author:	Aaron R Leiby
// Date:	27 March 2000
//------------------------------------------------------------------------------
// Description:	Used to dampen particle velocities.
//------------------------------------------------------------------------------
// How to use this class:
//------------------------------------------------------------------------------

class FrictionForce extends Force
	native;

var() public  float       Friction;				// (0.0..1.0) Percentage loss of velocity per second.
var() public  float       MinVelocity;			// If the particle's velocity is slower
												// than this, then it will be set to zero.
var   private float       MinVeloSquared;		// Cached internally between frames (optimization).

defaultproperties
{
	Friction=0.100000
	Priority=25.000000
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: sk 3-1-2016 10:38:40.000 - Creation time: sk 3-1-2016 10:48:38.923 - Created with UnCodeX