16 #include "datagramIterator.h"
17 #include "bamReader.h"
18 #include "bamWriter.h"
20 #include "linearControlForce.h"
33 _fvec(0.0f, 0.0f, 0.0f) {
44 _physics_object = copy._physics_object;
74 if (_physics_object != 0 && po == _physics_object) {
90 out<<
"LinearControlForce";
101 write(ostream &out,
unsigned int indent)
const {
103 out.width(indent); out<<
""; out<<
"LinearControlForce:\n";
104 out.width(indent+2); out<<
""; out<<
"_fvec "<<_fvec<<
"\n";
105 out.width(indent+2); out<<
""; out<<
"_physics_object "<<_physics_object<<
"\n";
virtual ~LinearControlForce()
Destructor.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
A body on which physics will be applied.
static const LVector3f & zero()
Returns a zero-length vector.
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
A force that acts on a PhysicsObject by way of an Integrator.
virtual void write(ostream &out, unsigned int indent=0) const
Write a string representation of this instance to <out>.
Simple directed vector force.
LinearControlForce(const PhysicsObject *po=0, PN_stdfloat a=1.0f, bool mass=false)
Vector Constructor.
virtual void output(ostream &out) const
Write a string representation of this instance to <out>.
TypeHandle is the identifier used to differentiate C++ class types.