LinearControlForce¶
-
class
LinearControlForce
¶ Bases:
LinearForce
Simple directed vector force. This force is different from the others in that it can be global and still only affect a single object. That might not make sense for a physics simulation, but it’s very handy for a game. I.e. this is the force applied by user on the selected object.
Inheritance diagram
-
explicit
LinearControlForce
(PhysicsObject const *po = 0, PN_stdfloat a = 1.0, bool mass = false)¶
-
LinearControlForce
(LinearControlForce const ©)¶ Vector Constructor
Copy Constructor
-
void
clear_physics_object
(void)¶ encapsulating wrapper
-
static TypeHandle
get_class_type
(void)¶
-
ConstPointerTo<PhysicsObject>
get_physics_object
(void) const¶ piecewise encapsulating wrapper
-
void
set_physics_object
(PhysicsObject const *po)¶ encapsulating wrapper
-
void
set_vector
(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z)¶ encapsulating wrapper
piecewise encapsulating wrapper
-
explicit