15 #ifndef LINEARCONTROLFORCE_H 16 #define LINEARCONTROLFORCE_H 18 #include "linearForce.h" 36 INLINE
void clear_physics_object();
40 INLINE
void set_vector(
const LVector3& v);
41 INLINE
void set_vector(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z);
43 INLINE
LVector3 get_local_vector()
const;
45 virtual void output(ostream &out)
const;
46 virtual void write(ostream &out,
unsigned int indent=0)
const;
59 static void init_type() {
60 LinearForce::init_type();
61 register_type(_type_handle,
"LinearControlForce",
62 LinearForce::get_class_type());
65 return get_class_type();
67 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
73 #include "linearControlForce.I" 75 #endif // LINEARCONTROLFORCE_H A body on which physics will be applied.
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.
Simple directed vector force.
virtual void write(ostream &out, unsigned 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 output(ostream &out) const
Write a string representation of this instance to <out>.