52 LVector3 LinearJitterForce::
54 return random_unit_vector();
61 output(std::ostream &out)
const {
63 out<<
"LinearJitterForce";
73 out.width(
indent); out<<
""; out<<
"LinearJitterForce:\n";
A force that acts on a PhysicsObject by way of an Integrator.
Completely random noise force vector.
LinearJitterForce(PN_stdfloat a=1.0f, bool m=false)
constructor
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
virtual ~LinearJitterForce()
constructor
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
Pure virtual, parent to noiseForce and jitterForce.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
TypeHandle is the identifier used to differentiate C++ class types.
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.