LinearForce¶
-
class
LinearForce
¶ Bases:
BaseForce
A force that acts on a
PhysicsObject
by way of an Integrator. This is a pure virtual base class.Inheritance diagram
-
PN_stdfloat
get_amplitude
(void) const¶
-
static TypeHandle
get_class_type
(void)¶
-
bool
get_mass_dependent
(void) const¶
-
LVector3
get_vector
(PhysicsObject const *po)¶
-
virtual LinearForce *
make_copy
(void) = 0¶
-
void
set_amplitude
(PN_stdfloat const a)¶
-
void
set_mass_dependent
(bool m)¶
-
void
set_vector_masks
(bool x, bool y, bool z)¶
-
PN_stdfloat