Panda3D
Public Member Functions | Static Public Member Functions

LinearFrictionForce Class Reference

Friction-based drag force. More...

Inheritance diagram for LinearFrictionForce:
LinearForce BaseForce

List of all members.

Public Member Functions

 LinearFrictionForce (LinearFrictionForce const copy)
 copy constructor
 LinearFrictionForce (float coef, float a, bool m)
 Constructor.
 LinearFrictionForce (float coef)
 Constructor.
 LinearFrictionForce ()
 Constructor.
 LinearFrictionForce (float coef, float a)
 Constructor.
bool getActive ()
float getAmplitude ()
float getCoef ()
ForceNode getForceNode ()
NodePath getForceNodePath ()
bool getMassDependent ()
Vec3 getVector (PhysicsObject const po)
Vec3 getVectorMasks ()
bool isLinear ()
LinearForce makeCopy ()
 output (ostream out)
 Write a string representation of this instance to <out>.
 setActive (bool active)
 setAmplitude (float a)
 setCoef (float coef)
 setMassDependent (bool m)
 setVectorMasks (bool x, bool y, bool z)
 write (ostream out, unsigned int indent)
 Write a string representation of this instance to <out>.
 write (ostream out)
 Write a string representation of this instance to <out>.
 write (ostream out, int indent_level)
 Write a string representation of this instance to <out>.

Static Public Member Functions

static TypeHandle getClassType ()

Detailed Description

Friction-based drag force.


Constructor & Destructor Documentation

copy constructor

LinearFrictionForce ( float  coef,
float  a,
bool  m 
)

Constructor.

LinearFrictionForce ( float  coef,
float  a 
)

Constructor.

LinearFrictionForce ( float  coef)

Constructor.

Constructor.


Member Function Documentation

bool getActive ( ) [inherited]
float getAmplitude ( ) [inherited]
static TypeHandle getClassType ( ) [static]

Reimplemented from LinearForce.

float getCoef ( )
ForceNode getForceNode ( ) [inherited]
NodePath getForceNodePath ( ) [inherited]
bool getMassDependent ( ) [inherited]
Vec3 getVector ( PhysicsObject const  po) [inherited]
Vec3 getVectorMasks ( ) [inherited]
bool isLinear ( ) [inherited]
LinearForce makeCopy ( ) [inherited]
output ( ostream  out) [inherited]

Write a string representation of this instance to <out>.

setActive ( bool  active) [inherited]
setAmplitude ( float  a) [inherited]
setCoef ( float  coef)
setMassDependent ( bool  m) [inherited]
setVectorMasks ( bool  x,
bool  y,
bool  z 
) [inherited]
write ( ostream  out) [inherited]

Write a string representation of this instance to <out>.

Reimplemented from BaseForce.

write ( ostream  out,
unsigned int  indent 
) [inherited]

Write a string representation of this instance to <out>.

write ( ostream  out,
int  indent_level 
) [inherited]

Write a string representation of this instance to <out>.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties