Go to the documentation of this file.
62 LVector3 LinearSourceForce::
71 output(std::ostream &out)
const {
73 out<<
"LinearSourceForce";
83 out.width(
indent); out<<
""; out<<
"LinearSourceForce:\n";
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
LPoint3 get_force_center() const
force_center query
PN_stdfloat get_scalar_term() const
calculate the term based on falloff
TypeHandle is the identifier used to differentiate C++ class types.
A force that acts on a PhysicsObject by way of an Integrator.
LPoint3 get_position() const
Position Query.
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
LinearSourceForce()
Simple constructor.
A body on which physics will be applied.
virtual ~LinearSourceForce()
Simple destructor.
Pure virtual class for sinks and sources.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.