18 #include "pandabase.h" 19 #include "typedReferenceCount.h" 23 #include "physicsObject.h" 36 INLINE
bool get_active()
const;
37 INLINE
void set_active(
bool active);
38 virtual bool is_linear()
const = 0;
41 INLINE
NodePath get_force_node_path()
const;
43 virtual void output(ostream &out)
const;
44 virtual void write(ostream &out,
int indent_level=0)
const;
59 static void init_type() {
60 TypedReferenceCount::init_type();
61 register_type(_type_handle,
"BaseForce",
62 TypedReferenceCount::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
75 #include "baseForce.I" A force that lives in the scene graph and is therefore subject to local coordinate systems...
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
pure virtual base class for all forces that could POSSIBLY exist.
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...