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