46 LRotation v = get_child_quat(po);
62 output(std::ostream &out)
const {
64 out<<
"AngularForce (id "<<
this<<
")";
74 out.width(
indent); out<<
""; out<<
"AngularForce (id "<<
this<<
")\n";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pure virtual parent of all quat-based forces.
virtual void output(std::ostream &out) const
Write a string representation of this instance to <out>.
virtual ~AngularForce()
destructor
LRotation get_quat(const PhysicsObject *po)
access query
virtual bool is_linear() const
access query
virtual void write(std::ostream &out, int indent=0) const
Write a string representation of this instance to <out>.
pure virtual base class for all forces that could POSSIBLY exist.
virtual void write(std::ostream &out, int indent_level=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.